多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

int index = 1;   String test = new String;   String foo = test[index];  What is the result?()

  • A、  Foo has the value “”
  • B、 Foo has the value null
  • C、 An exception is thrown
  • D、 The code will not compile
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题