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

问题:

[单选]

public class Alpha{ 
public static void main( string[] args ){ 
if ( args.length == 2 ) { 
if ( args.[0].equalsIgnoreCase(“-b”) ) 
System.out.println( new Boolean( args[1] )); 
} 
} 
}  
And the code is invoked by using the command: java Alpha –b TRUE  
What is the result?()  

A .  true
B .  null
C .  false
D .  Compilation fails.
E .  The code runs with no output.
F .  An exception is thrown at runtime.

林雅华博士指出,目前,我国政务微博总数已达到() 4.6万多个。 2.6万多个。 3.6万多个。 5.6万多个。 非法证据排除规则的作用主要体现在()。 控制警察的非法取证行为。 有利于督促执法机关守法。 有利于防止或减少冤假错案。 有利于确实保障诉讼参与人的权利。 土压力 生产可能性曲线凹向原点说明了随着一种物品生产的增加,机会成本在递增。 正弦交流电路中产生谐振时,电源不再向电路供给()功率。 有功。 无功。 视在。 负载。

public class Alpha{ 
public static void main( string[] args ){ 
if ( args.length == 2 ) { 
if ( args.[0].equalsIgnoreCase(“-b”) ) 
System.out.println( new Boolean( args[1] )); 
} 
} 
}  
And the code is invoked by using the command: java Alpha –b TRUE  
What is the result?()  

参考答案:

  参考解析

本题暂无解析

在线 客服