Given: 8.int index = 1: 9.Boolean [] test = new boolcan [3]; 10.boolcan 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
答案解析:有
微信扫一扫手机做题