定义子类Teacher继承父类Person,下面语句正确的是()。

6 查阅

定义子类Teacher继承父类Person,下面语句正确的是()。

A.class Person extends Teacher

B.class Person implements Teacher

C.class Teacherextends Person

D.class Teacherimplements Person

参考答案:

答案:class Teacherextends Person