black

SCJP程序员认证考试

登录

单项选择题

public class Test { 
public static void main(String [] args) { 
System.out.println(args.length > 4 && 
args[4].equals(“-d”)); 
} 
}  
If the program is invoked using the command line: java Test One Two Three –d  
What is the result?()  

A. true
B. false
C. Compilation fails.
D. An exception is thrown at runtime.

相关考题

多项选择题 Giventhatbandcrefertoinstancesofwrapperclasses,whichtwostatementsaretrue?()

单项选择题 String a = null;  a.concat(“abc”);  a.concat(“def”);  System.out.println(a);   What is the result?()

多项选择题 public static void main( String[] args ) {  Integer a = new Integer(10);  Integer b = new Integer(10);  Integer c = a;  int d = 10;  double e = 10.0;  }   Which three evaluate to true?()

All Rights Reserved 版权所有©求知题库网库(csqiuzhi.com)

备案号:湘ICP备14005140号-1

经营许可证号:湘B2-20140064