问题:
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)
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’ };
● 参考解析
本题暂无解析
相关内容
相关标签