Professional Documents
Culture Documents
QID - 2.1088
Consider:
o1 and o2 denote two object references to two different objects of same class.
Which of the following statements are true?
Select 2 options
A. o1.equals(o2) will always be false.
B. o1.hashCode()
C. o1
== o2
== o2.hashCode()
D. Nothing can be said about o1.equals(o2) regarding what it will return based on
the given information.
== o2 .
Check Answer