当前位置:SCJP程序员认证考试题库

问题:

[多选]

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.

为了弥补客户临时性资金短缺,一般商业银行的理财业务人员会建议客户开立() 信用卡账户。 扣款账户。 定期存款账户。 交易账户。 11月10日,在印度尼西亚巴厘岛召开的国际刑警组织第八十五届全体大会上,中国公安部副部长孟宏伟高票当选新一任主席,任期()年。 1年。 2年。 3年。 4年。 简论“楚辞”的文化渊源。 下列关于客户信息收集的说法,不正确的是() 为了得到真实的信息,数据调查表必须由客户亲自填写。 在客户填写调查表之前,从业人员应对有关项目加以解释。 如果客户出于个人原因不愿意回答某些问题,从业人员应该谨慎地了解客户产生焦虑的原因,并向客户解释该信息的重要性,以及在缺乏该信息情况下可能造成的误差。 宏观经济信息可以从政府部门或金融机构公布的信息中获得。 生产的经济区域

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?()

参考答案:

  参考解析

本题暂无解析

在线 客服