Hi all,
I am a new member.I have few doubts on real scjp exam.
if the question pattern is like,
Q. Consider the following lines of code:
Integer i = new Integer(42);
Long ln = new Long(42);
Double d = new Double(42.0);
Which of the following options are valid?
???<Select 2 correct options >
a i == ln;
b ln == d;
c i.equals(d);
d d.equals(ln);
e ln.equals(42);
Will it be there in the question that how many correct answer(???) needs to be selected.