子类WebEmployee继承Employee类,其定义语句是()。


子类WebEmployee继承Employee类,其定义语句是()。

A.class WebEmployee extends TelEmployee

B.class WebEmployee extends Employee

C.class Employee extends WebEmployee

D.class WebEmployee implements Employee

正确答案:class WebEmployee extends Employee


Tag:Java面向对象程序设计 子类 语句 时间:2022-01-25 15:24:09