Page 1 of 1
About Question enthuware.ocpjp.v8.2.1459 :
Posted: Mon Apr 11, 2016 9:18 am
by rvt1234
I am most likely overlooking something but...
in what situation will equals return true while the hashcode is different in any of the other answers?
Re: About Question enthuware.ocpjp.v8.2.1459 :
Posted: Mon Apr 11, 2016 9:39 am
by admin
In no situation does that happen. That is why option 5 is correct. It says "None of these are invalid". It would be better if it said all of the above are valid.
-Paul.
Re: About Question enthuware.ocpjp.v8.2.1459 :
Posted: Mon Apr 11, 2016 10:21 am
by rvt1234
Admin,
thanks, I did indeed mis-read the last answer. As a non english speaking person "all of the above are valid." is indeed more clear then the double negative.