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

问题:

[单选]

public class Test {}
What is the prototype of the default constructor?()  

A .  Test()
B .  Test(void)
C .  public Test()
D .  public Test(void)
E .  public void Test()

扶贫小额信贷贷给谁() 有贷款意愿且有还款能力的贫困户。 有就业创业潜质且有还款能力的贫困户。 有技能素质且有还款能力的贫困户。 丧失劳动能力的贫困户。 时距曲线 地表水水质 不过,可口好吃的莱还是值得赞美的。这个世界给人弄得混乱颠倒,到处是磨擦冲突,只有两件最和谐的事物总算是人造的:音乐和烹调。一碗好莱仿佛一只乐曲,也是一种一贯的多元,调和滋味,使相反的分子相成相济,变作可分而不可离的综合。为什么说“可口好吃的菜还是值得赞美的”? 试说明基准脉冲插补法和数据采样法的特点?

public class Test {}
What is the prototype of the default constructor?()  

参考答案:

  参考解析

The correct answer to this question is C. The default constructor always takes the same access of the class. In this case, the class is public and so does the default constructor. 

在线 客服