Hashcode

Difference Between equals and hashCode in Java
Reason: hashCode just returns int value for an Object, even two different objects can have same hashCode integer. equals() checks if the two object re...