Not sure if the answer provided is correct.
It assumes that the user has overridden the hashcode and equals method correctly.
hashcode and equals
Moderator: admin
-
- Posts: 16
- Joined: Fri Sep 04, 2015 5:06 pm
- Contact:
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: hashcode and equals
Please specify the question id so that we can look it up and check.
If you like our products and services, please help us by posting your review here.
-
- Posts: 16
- Joined: Fri Sep 04, 2015 5:06 pm
- Contact:
Re: hashcode and equals
enthuware.ocpjp.v7.2.1515
Q32 test 3
Q32 test 3
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: hashcode and equals
The problem statement does say, "(Assume that the equals and hashCode contract is not violated by the class.)"
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: Bing [Bot] and 239 guests