试题详情
单项选择题 public class Test {  public static void main( String[] args) {  String foo = args[1];  String bar = args[2];  String baz = args[3];  System.out.println(“baz = “ + baz); }  }   And the command line invocation: java Test red green blue   What is the result?()  

A、 baz =

B、 baz = null

C、 baz = blue

D、 Compilation fails.

E、 An exception is thrown at runtime.

  • E
  • 关注下方微信公众号,在线模考后查看

热门试题