PayPal Interview Question

2. Collections framework HashMap, ArrayList internal implementation What is hashCode? How is get operation performed? Equals() vs HashCode? Class Employee { Name; Age; Salary;} HashMap<Employee,Big Int> map; Can you add Employee to the map now? What is the pre-requisite? What needs to be done? Write code for equals() overriding in this case? Use of hashcode?