单项选择题
A. 1
B. 2
C. 3
D. 4
E. 5
单项选择题 public class X { public static void main (String[]args) { String s1 = new String (“true”); Boolean b1 = new Boolean (true); if (s2.equals(b1)) { System.out.printIn(“Equal”); } } } What is the result?()
单项选择题 String foo = “blue”; Boolean[]bar = new Boolean [1]; if (bar[0]) { foo = “green”; } What is the result? ()
多项选择题 Whichtwovaliddeclarationsofachar?()