单选题String foo = “blue”; Booleanbar = new Boolean [1]; if (bar[0]) { foo = “green”; } What is the result?()AFoo has the value of “”BFoo has the value of null.CFoo has the value of “blue”DFoo has the value of “green”EAn exception is thrown.FTh
题目
单选题
String foo = “blue”; Booleanbar = new Boolean [1]; if (bar[0]) { foo = “green”; } What is the result?()