已知类关系如下: Class Employee{} Class Manager extends Employee{ } Class Director extends Employee{ } 则下列语句正确的是:( )。
A.
Employee e=new Manager();
B.
Director d=new Manager();
C.
Director d =new Employee ();
D.
Manager m=new Director ();
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】European Textile Manufacturers' Association(ETMA), Serving the Textile Industry in Europe and Southeast Asia August 29, 2007 This year's meeting of the European Textile Manufacturers'Association(ETMA)...
【简答题】Word spelling(满分10分) 1.He did the work with his teacher's________(指导). 2.She is my n_______ from America, the daughter of my eldest sister. 3.Jane and Sarah used to be friends but now they are bitter ...