

MCQOPTIONS
Saved Bookmarks
1. |
and assuming that the equals() and hashCode() methods are properly implemented, if the output is "x = 1111", which of the following statements will always be true?
|
A. | x2.equals(x1) |
B. | x3.hashCode() == x4.hashCode() |
C. | x5.hashCode() != x6.hashCode() |
D. | x8.equals(x7) |
Answer» C. x5.hashCode() != x6.hashCode() | |