题目内容

Assume that country is set for each class. Given: 10. public class Money { 11. private String country, name; 12. public getCountry() { return country; } 13.} and: 24. class Yen extends Money { 25. public String getCountry() { return super.country; } 26. } 27. 28. class Euro extends Money { 29. public String getCountry(String timeZone) { 30. return super.getCountry(); 31. } 32. } Which two are correct?()

A. Yen returns correct values.
B. Euro returns correct values.
C. An exception is thrown at runtime.
D. Yen and Euro both return correct values.
E. Compilation fails because of an error at line 25.
F. Compilation fails because of an error at line 30.

查看答案
更多问题

“夜间高处作业或炉膛内作业照明不足”,属于下列哪种类型的违章()

A. 作业性违章
B. 装置性违章
C. 指挥性违章
D. 管理性违章

承插连接采用麻古的直径要根据承插口间隙大小而定,一般取间隙的()倍。

A. 1
B. 1.3
C. 1.5
D. 2

转炉炼钢反应的意义就在于把铁水中的碳含量降到钢种规定要求范围内。

A. 正确
B. 错误

焦炉斜道区用砖是()

A. 粘土砖
B. 硅砖
C. 隔热砖

答案查题题库