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

问题:

[单选]

public class Wow { 
public static void go(short n) {System.out.println(”short”); } 
public static void go(Short n) {System.out.println(”SHORT”);} 
public static void go(Long n) {System.out.println(” LONG”); } 
public static void main(String [] args) { 
Short y= 6; 
int z=7; 
go(y); 
go(z); 
} 
} 
What is the result?() 

A .  short LONG
B .  SHORT LONG
C .  Compilation fails.
D .  An exception is thrown at runtime.

简述节拍和节奏型音乐经验获得机制。 为突出重点,产生强烈的视觉效果,可以使用的是() 邻近色。 同一种色彩。 对比色。 黑色。 试述另家庭管理的文化要素。 简述打击乐多声部经验获得机制。 对统计总体按两个及以上标志分组后形成的统计表叫() 简单表。 简单分组表。 复合分组表。 汇总表。

public class Wow { 
public static void go(short n) {System.out.println(”short”); } 
public static void go(Short n) {System.out.println(”SHORT”);} 
public static void go(Long n) {System.out.println(” LONG”); } 
public static void main(String [] args) { 
Short y= 6; 
int z=7; 
go(y); 
go(z); 
} 
} 
What is the result?() 

参考答案:

  参考解析

本题暂无解析

在线 客服