String foo = “blue”;    Booleanbar = new Boolean [1];    if 

题目内容(请给出正确答案)
单选题
String foo = “blue”;    Booleanbar = new Boolean [1];    if (bar[0]) {    foo = “green”;    }   What is the result?()
A

 Foo has the value of “”

B

 Foo has the value of null.

C

 Foo has the value of “blue”

D

 Foo has the value of “green”

E

 An exception is thrown.

F

 The code will not compile.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
更多相关问题