注意:此页面搜索的是所有试题
题目内容
(国际开放大学Java语言程序设计)
假设n1,n2为接口名,m1,m2为类名,下列关于类或接口的定义中,错误的是( )。
A. public class m2 extends m1 {...}
B. public class m2 extends m1 implements n1 {...}
C. public class m2 extends n1 {…}
D. public interface n1 extends n2 {...}
A. public class m2 extends m1 {...}
B. public class m2 extends m1 implements n1 {...}
C. public class m2 extends n1 {…}
D. public interface n1 extends n2 {...}
参考答案