试题详情
单项选择题 public class Alpha{  private static Character() ids;  public static void main( String[] args){  ids = new Character[args.length];  for (int i=0; iids[i] = new Character( args[i] );  System.out.print( ids[i] );  }  }  }   What is correct?()  

A、 Compilation fails.

B、 The code runs with no output.

C、 An exception is thrown at runtime.

D、 The code runs, outputing a concatenated list of the arguments passed to the program.

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

热门试题