可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

int index = 1;  b


int index = 1;  boolean[] test = new Boolean[3];  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.
参考答案
参考解析:
分类:SCJP程序员认证考试题库