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)
正确答案:C,D
答案解析:有
微信扫一扫手机做题