接口A的定义如下,指出下列哪些类实现了该接口______。 Interface A {Int method1 (int i);Int method2 (int j); }

A.class B implements A{ Int method1(){} Int method2(){}} B.class B extends A{ Int method1(int {} Int method2(int {}} C.class B{ Int method1(int {} Int method2(int {}} D.class B implements A{ Int method1(int {} Int method2(int {}}

时间:2024-04-26 09:04:06

相似题目