首页题库练习题目详情
Java语言程序设计单选题中等

以下哪项是接口的正确定义方式?

Ainterface MyInterface { void method(); }
Bclass MyInterface implements interface { void method(); }
Cinterface MyInterface extends class { void method(); }
Dclass MyInterface { void method(); }