How HashMap works in Java
Tutorials Shared by the Internet Community
Total Hits - 15537
Total Votes - 98 votes
Vote Up - 42 votes
Vote Down - 56 votes
Domain - javarevisited.blogspot.com
Category - JAVA/Collections
Submitted By - Javin Paul
Submitted on - 2011-02-07 12:45:49
How HashMap works in Java or sometime how get method work in HashMap is common interview questions now days. Almost everybody who worked in Java knows what hashMap is, where to use hashMap or difference between hashtable and HashMap then why this interview question becomes so special? Because of the breadth and depth this question offers. It has become very popular java interview question in almost any senior or mid-senior level java interviews.
Questions start with simple statement
"Have you used HashMap before" or "What is HashMap? Why do we use it “ ...