皮皮学,免费搜题
登录
搜题
【单选题】
 interface A { public void aMethod(); }  2. interface B { public void bMethod(); }  3. interface C extends A,B { public void cMethod(); }  4. class D implements B {  5. public void bMethod() { }  6. }  7. class E extends D implements C {  8. public void aMethod() { }  9. public void bMethod() { }  10. public void cMethod() { }  11. }  What is the result?()
A.
Compilation fails because of an error in line 3.
B.
Compilation fails because of an error in line 7.
C.
Compilation fails because of an error in line 9.
D.
If you define D e = new E(), then e.bMethod() invokes the version of bMethod()defined in Line 5.
E.
If you define D e = (D)(new E()),then e.bMethod() invokes the version of bMethod() defined in Line 5.
F.
If you define D e = (D)(new E()), then e.bMethod() invokes the version of bMethod() defined in Line 9.
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】How much is the small bottle of liquor in the...?
A.
reservation
B.
mini bar
C.
charge per night
D.
vacancies
【单选题】游泳池的水呈蓝色是因为水里添加了( )。
A.
硫酸铜
B.
硫酸钾
C.
石灰硫
D.
石灰钾
【单选题】How much is a bottle of a family size Pepsi?
A.
USD 1.68
B.
USD 1.98
C.
USD 2.38
D.
USD 2.88
【多选题】---How much is this bottle of milk? ---It's ______.
A.
six pound ninety-nine penny
B.
six pounds ninety-nine penny
C.
six pounds ninety-nine pence
D.
six ninety-nine
【单选题】若为三圃制程序生产原种,当选株行种子下年种植于()。
A.
株系圃
B.
原种圃
【判断题】液压装置工作平稳,换向冲击小,但不便于实现频繁换向。( )
A.
正确
B.
错误
【单选题】How much is a large bottle of aspirin?
A.
56pence.
B.
87pence.
C.
67 pence.
【单选题】小麦种子生产中,若为三圃制程序生产原种,当选株系种子下年种植于()。
A.
株系圃
B.
原种圃
【单选题】若为三圃制程序生产原种,当选株系种子下年种植于()。
A.
株系圃
B.
原种圃
【判断题】液压装置工作平稳,换向冲击小,但不便于实现频繁换向。
A.
正确
B.
错误
相关题目: