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.

时间:2022-10-04 06:21:48 所属题库:SCJP程序员认证考试题库

相似题目