皮皮学,免费搜题
登录
搜题
【单选题】
现有:      class Pencil  {  public void write (String content){     System.out.println( "Write",+content){     }     }class RubberPencil extends Pencil{     public void write (String content){  System.out.println("Rubber Write"+content);     }  public void erase (String content)}}  执行下列代码的结果是哪项?()      Pencil  pen=new  Pencil();  (( RubberPencil) pen).write( "Hello");
A.
Write Hello
B.
Rubber Write Hello
C.
编译失败
D.
运行时抛出异常
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【判断题】器具的清洁工作主要指泡茶之后的清洗。
A.
正确
B.
错误
【判断题】过水准面上任何一点所作的铅垂线,在该点处均与水准面正交。( )
A.
正确
B.
错误
【判断题】通过考察定员公里和与线路乘客周转量的关系而不仅仅依据最大断面客流来确定发车频率,能够起到提高运输效率的效果。
A.
正确
B.
错误
【单选题】For the group presentation (Mini-show), the whole group will get ______________score(s).
A.
the same
B.
different
【多选题】影响黄酮类化合物颜色的主要因素有( )。
A.
交叉共轭体系
B.
取代基的种类
C.
取代基的数目
D.
取代基的位置
E.
与取代基无关
【单选题】一般说来,合科教学在( )的作用是成功的。
A.
低年级
B.
高年级
C.
高中
D.
大学
【判断题】过水准面上任何一点所作的铅垂线,在该点处与水准面正交。
A.
正确
B.
错误
【简答题】Mini-presentation: What is important when setting up your own business?
【判断题】吩噻嗪环比较稳定,不易被氧化
A.
正确
B.
错误
【判断题】超高温消毒:即在135°C~140°C下消毒1~3分钟。
A.
正确
B.
错误
相关题目: