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

问题:

[单选]

static void test() throws RuntimeException { 
try { 
System.out.print(”test “); 
throw new RuntimeException(); 
} 
catch (Exception ex) { System.out.print(”exception “); } 
} 
public static void main(String[] args) { 
try { test(); } 
catch (RuntimeException ex) { System.out.print(”runtime “); } 
System.out.print(”end “); 
} 
What is the result?() 

A .  test end
B .  Compilation fails.
C .  test runtime end
D .  test exception end
E .  A Throwable is thrown by main at runtime.

对于FLASH制作动画中用到的形状提示点,下列哪些是正确的() 形状提示点在开始的关键帧中是黄色的。 在未设置完成时是红色的。 在结束的关键帧中是绿色的。 形状提示点最多使用26个。 影响中国的冷空气来自() 南极洲。 欧洲。 北极以及西伯利亚。 简述明清之际的耶稣会士在沟通中西文化方面所起的作用。 幼儿节奏感发展特征是什么? 11月22日,大理市全民健身中心广场锣鼓喧天,大理各族人民身着盛装,共同庆祝()自治州建州60周年。 大理白族。 红河。 西双版纳。 楚雄。

static void test() throws RuntimeException { 
try { 
System.out.print(”test “); 
throw new RuntimeException(); 
} 
catch (Exception ex) { System.out.print(”exception “); } 
} 
public static void main(String[] args) { 
try { test(); } 
catch (RuntimeException ex) { System.out.print(”runtime “); } 
System.out.print(”end “); 
} 
What is the result?() 

参考答案:

  参考解析

本题暂无解析

在线 客服