问题 单项选择题

有一个接口定义如下,下列选项中实现了该接口并且不是抽象的是( )。
interface A int method1 (int i);
int method2 (int j);

A.class B implements A

int method1()
int method2()

B.class B

int method1(int i)
int method2(int j)

C.class B implements A

int methodl(int i)
int method2(intj)

D.class B extends A

int method1(int i)
int method2(int j)

答案

参考答案:C

单项选择题
单项选择题