> 
> **Possible Duplicate:**  
> 
> [what is an objects hashcode](https://stackoverflow.com/questions/2237720/what-is-an-objects-hashcode) 
> 
> 
> 

Let's say that I create an object, called `Employee` which has id, firstName, lastName and email for instance variables and corresponding setter/getter methods. How is `hashCode()` calculated if I don't override `hashCode()` in `Employee` object when it is stored in collection objects?