类Teacher和Student都是类Person的子类,t、s、p分别是上述三个类的非空引用变量,关于以下语句说法正确的是() if(t instanceof Person) { s=(Student)t; } A. 将构造一个Student对象 B. 表达式合法 C. 编译时非法 D. 编译时合法而在运行时可能非法
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】After the earthquake, a world divided by ________ and religious disputes suddenly faced its common humanity in this shocking disaster. A) eligible B) engaged C) prone D) prospective