试题详情
单项选择题 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
  • 关注下方微信公众号,在线模考后查看

热门试题