int index = 1; String [] test = new String[3]; 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
答案解析:有
微信扫一扫手机做题
int index = 1; String [] test = new String[3]; String foo = test[index]; What is the result?()
微信扫一扫手机做题