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

问题:

[单选]

11. class Converter { 
12. public static void main(String[] args) { 
13. Integer i = args[0]; 
14. int j = 12; 
15. System.out.println(”It is “ + (j==i) + “that j==i.”); 
16. } 
17. } 
What is the result when the programmer attempts to compile the code and run it with the command java Converter 12?() 

A .  It is true that j==i.
B .  It is false that j==i.
C .  An exception is thrown at runtime.
D .  Compilation fails because of an error in line 13.

简述中国与西方国家无产阶级革命中的秘书工作有诸多相同之处,表现在哪些方面? 你今天所有一切与你的状态相匹配 “荆刘拜杀” 发展观光农业对生态环境保护与建设的意义 传统外币储蓄存款作为投资理财工具的特征是()。 流动性相对较高。 服务较好。 风险较低。 回报率低。

11. class Converter { 
12. public static void main(String[] args) { 
13. Integer i = args[0]; 
14. int j = 12; 
15. System.out.println(”It is “ + (j==i) + “that j==i.”); 
16. } 
17. } 
What is the result when the programmer attempts to compile the code and run it with the command java Converter 12?() 

参考答案:

  参考解析

本题暂无解析

在线 客服