Page 1 of 1

About Question enthuware.ocpjp.v7.2.1459 :

Posted: Sat Oct 25, 2014 7:53 am
by bakaibalazs
Hi!

I think return a*b; and return a+b; is a good solution for hashCode()

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

Posted: Sat Oct 25, 2014 7:55 am
by bakaibalazs
Sorry, I was wrong. because the solution is none of this invalid, so all is valid!