Integer i = new Integer (42); Long 1 = new Long (42); Double d = new Double (42.0); Which two expressions evaluate to True? ()
- A、 (i ==1)
- B、 (i == d)
- C、 (d == 1)
- D、 (i.equals (d))
- E、 (d.equals (i))
- F、 (i.equals (42))
正确答案:D,E
答案解析:有
微信扫一扫手机做题
Integer i = new Integer (42); Long 1 = new Long (42); Double d = new Double (42.0); Which two expressions evaluate to True? ()
微信扫一扫手机做题