R
rmn190
the java API says that:"If two objects are equal according to the
equals(Object) method, then calling the hashCode method on each of the
two objects must produce the same integer result."
why?i wonder the root cause of that.
equals(Object) method, then calling the hashCode method on each of the
two objects must produce the same integer result."
why?i wonder the root cause of that.