Hi!
I think return a*b; and return a+b; is a good solution for hashCode()
About Question enthuware.ocpjp.v7.2.1459 :
Moderator: admin
-
- Posts: 2
- Joined: Sat Oct 25, 2014 7:51 am
- Contact:
About Question enthuware.ocpjp.v7.2.1459 :
- Attachments
-
- aaa.jpg (217.44 KiB) Viewed 2878 times
-
- Posts: 2
- Joined: Sat Oct 25, 2014 7:51 am
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1459 :
Sorry, I was wrong. because the solution is none of this invalid, so all is valid!
Who is online
Users browsing this forum: No registered users and 19 guests