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

问题:

[多选]

public class X { 
public X aMethod() { return this;} 
} 
public class Y extends X { 
} 
Which two methods can be added to the definition of class Y?()

A .  public void aMethod() {}
B .  private void aMethod() {}
C .  public void aMethod(String s) {}
D .  private Y aMethod() { return null; }
E .  public X aMethod() { return new Y(); }

十九世纪法国歌剧有哪些种类() 大歌剧。 谐歌剧。 乐剧。 喜歌剧。 抒情歌剧。 发展型公共政策理念的主要内容包括()。 效率优位观念。 科学民主观念。 公平优位观念。 创新超前观念。 试分析过程模式的特点及对幼儿园课程编制的影响。 《如何避免愚蠢的见识》文中第二段举亚里士多德的例子有什么用?我们如何去避免类似亚里士多德所犯的错误? 文学活动有什么要素?关系如何?析之。

public class X { 
public X aMethod() { return this;} 
} 
public class Y extends X { 
} 
Which two methods can be added to the definition of class Y?()

参考答案:

  参考解析

本题暂无解析

在线 客服