This contract will only comes into play when we are overriding
Equals
Hashcode.
But one question creeps in my mind
. Though, I understand the previous statement ,but someway or somehow. There pops up a doubt. As according to the concept of Maps, the hashcode helps to find out the right bucket and then equals find out the right object referencing to it.
Even if we are not overriding the hash method , but internally the without overriden hash method should also adopt this kind of approach, mentioned theoretically.