About Question enthuware.ocpjp.v7.2.1597 :

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

Moderator: admin

Post Reply
JavaCoffee
Posts: 3
Joined: Tue Jul 29, 2014 10:47 am
Contact:

About Question enthuware.ocpjp.v7.2.1597 :

Post by JavaCoffee »

Answer C) If a is equal to 0, it's gonna throw a RuntimeException, is that all right ? Doesn't it break the contract between hashCode & equal ?

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

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

Post by admin »

No, why do you think so?
Also, c is not a correct option.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests