About Question enthuware.ocpjp.v7.2.1597 :
Moderator: admin
-
- Posts: 3
- Joined: Tue Jul 29, 2014 10:47 am
- Contact:
About Question enthuware.ocpjp.v7.2.1597 :
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 ?
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1597 :
No, why do you think so?
Also, c is not a correct option.
Also, c is not a correct option.
Who is online
Users browsing this forum: No registered users and 8 guests