A. 对 B. 错
A. final B. interface C. abstract D. implements
A. abstract B. implements C. extends D. interface
A. class dog extend animal{...} B. class dog extends animal{...} C. class dog implements animal{...} D. class dog implement animal{...}
A. class dog extends animal{...} B. class dog extend animal{...} C. class dog implements animal{...} D. class dog implement animal{...}
A. 接口所有的方法都是抽象的 B. 接口所有的方法一定都是public类型 C. 用于定义接口的关键字是implements D. 接口是Java中的特殊类,包含全局常量和抽象方法
A. 5,5 B. 0,5 C. 0,0 D. 编译错误
A. B b=new B(); B b=new A(); C. A a=new B()
A. class Person{abstract void work(){}} B. abstract class Person{abstract void work(){}} C. class Person{abstract void work();} D. abstract class Person{abstract void work();}
A. 抽象类不能定义变量和初始化 B. Person p; C. Person p=new Person();