About Question enthuware.ocpjp.v7.2.1515 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
boyonsea
Posts: 16
Joined: Fri Sep 04, 2015 5:06 pm
Contact:

About Question enthuware.ocpjp.v7.2.1515 :

Post by boyonsea »

Not sure if the answer provided is correct.
It assumes that the user has overridden the hashcode and equals method correctly.

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1515 :

Post by admin »

This is a general statement about equals and hashCode contract. Even so, the problem statement does contain thisat the bottom, "(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.

Post Reply

Who is online

Users browsing this forum: likejudo and 237 guests