+ 1
hashCode override
When we override this method and what we check in implementation ?
1 Odpowiedź
+ 12
You override equals and hashCode. Then you can check for equality to whatever you defined in your equals method.
When we override this method and what we check in implementation ?