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

问题:

[单选]

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

A .  end
B .  Compilation fails.
C .  exception end
D .  exception test end
E .  A Throwable is thrown by main.
F .  An Exception is thrown by main.

投资个人外汇理财产品既要关心收益率,也要重视面临的风险。 起爆器材不可以同()装配在同一车厢或船舱内。 挥发性气体。 易燃固体。 压缩液体。 腐蚀液体。 鬼魂崇拜 简述节流装置的设计计算步骤。 社会赞助的原则不包含以下哪点?() 所赞助的项目或者活动应具有积极社会意义和广泛社会影响力。 所赞助项目有利于扩大本单位知名度和美誉度。 要注意赞助时机。 要豁得出去,赞助越多越好。

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

参考答案:

  参考解析

本题暂无解析

在线 客服