The following is true is that?
Integer i = 42;
Long l = 42l;
Double d = 42.0;
A (i == l)
B (i == d)
C (l == d)
D i.equals(d)
E d.equals(l)
F i.equals(l)
G l.equals(42L)
This title selected G
ABC3 options: == comparison of different types of references, will compile error, can not be compared.
DEF3 options: Call equals method, the equals method to compare type, i, d, l are of different types, it returns false.