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

问题:

[单选]

class Super { 
public int getLenght() { return 4; } 
} 
public class Sub extends Super { 
public long getLenght() { return 5; } 
public static void main(String[] args) { 
Super sooper = new Super(); 
Sub sub = new Sub(); 
System.out.println( 
sooper.getLenght() + “,” + sub.getLenght() ); 
} 
}
What is the output?()

A .  Just after line 13.
B .  Just after line 14.
C .  Just after line 15.
D .  Just after line 16 (that is, as the method returns).

氧垂曲线 德鲁克在()提出目标管理概念。 直接言词原则应当具有的内容包括()。 法庭审判贯彻“在场原则”。 所有提供言词证据的主体必须出庭作证。 法官对证据的调查和采纳必须亲自进行。 审判应当持续而集中的进行。 厄威克认为,()的工作宗旨在于使行政领导者免除某些事务的负担,使他能够扩大控制幅度并集中精力于最重要的问题。 下列的中國各項發明中,哪一項隨蒙古西征傳入歐洲?() 紡織品。 火藥。 造紙術。 指南針。。

class Super { 
public int getLenght() { return 4; } 
} 
public class Sub extends Super { 
public long getLenght() { return 5; } 
public static void main(String[] args) { 
Super sooper = new Super(); 
Sub sub = new Sub(); 
System.out.println( 
sooper.getLenght() + “,” + sub.getLenght() ); 
} 
}
What is the output?()

参考答案:

  参考解析

本题暂无解析

在线 客服