多項(xiàng)選擇題

Which expressions will evaluate to true if preceded by the following code?()  
String a = "hello";  
String b = new String(a);  
String c = a;  
char[] d = { ’h’, ’e’, ’l’, ’l’, ’o’ };  

A.(a == "Hello")
B.(a == b)
C.(a == c)
D.a.equals(b)
E.a.equals(d)

題目列表

你可能感興趣的試題

微信掃碼免費(fèi)搜題