试题详情
单项选择题 int index = 1;   boolean test = new Boolean;   boolean foo= test [index];  What is the result?()

A、 Foo has the value of 0.

B、 Foo has the value of null.

C、 Foo has the value of true.

D、 Foo has the value of false.

E、 An exception is thrown.

F、 The code will not compile.

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

热门试题