int index = 1; int [] foo = new int [3]; int bar = foo [index]; int baz = bar + index; What is the result?()
- A、 Baz has the value of 0
- B、 Baz has the value of 1
- C、 Baz has the value of 2
- D、 An exception is thrown.
- E、 The code will not compile.
正确答案:B
答案解析:有
微信扫一扫手机做题