问题详情

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.

时间:2022-01-06 02:43 关键词: SCJP程序员认证考试

答案解析

D
相关问题