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

问题:

[单选]

static void test() { 
try { 
String x=null; 
System.out.print(x.toString() +“ “); 
} 
finally { System.out.print(“finally “); } 
} 
public static void main(String[] args) { 
try { test(); } 
catch (Exception ex) { System.out.print(”exception “); } 
} 
What is the result?() 

A .  null
B .  finally
C .  null finally
D .  Compilation fails.
E .  finally exceptio

下列情形中,承包人不可以提出索赔的是()。 法规变化。 因工程变更造成的时间损失。 不可抗力导致承包人的设备损坏。 对合同规定以外的项目进行检验,且检验合格。 简述新石器文化的重要特征。 不可能通过投资多样化来分散的房地产投资风险称为非系统风险。 馆际互借 简述家族共同体主要的文化功能。

static void test() { 
try { 
String x=null; 
System.out.print(x.toString() +“ “); 
} 
finally { System.out.print(“finally “); } 
} 
public static void main(String[] args) { 
try { test(); } 
catch (Exception ex) { System.out.print(”exception “); } 
} 
What is the result?() 

参考答案:

  参考解析

本题暂无解析

在线 客服