[单项选择题] 有一个接口定义如下,下列选项中实现了该接口并且不是抽象的是( )。interface A int method1 (int i); int m
2021-07-14
[单项选择题] 有一个接口定义如下,下列选项中实现了该接口并且不是抽象的是( )。
interface A int method1 (int i);
int method2 (int j);
A.class B implements A int method1()int method2()
B.class Bint method1(int i)int method2(int j)
C.class B implements A int methodl(int i)int method2(intj)
D.class B extends Aint method1(int i)int method2(int j)
正确答案:
C
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。
