Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. Map is an interface where HashMap is the concrete class.|
Sample Code for map
Sample Code for hashmap
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   collections   hashmap   map basic   frequent|
|Can you provide some implementation of a Dictionary having large number of words ?|
|Difference between TreeMap and HashMap ?|
|Difference between HashMap and Hashtable?|
|What is a ConcurrentHashMap ?|
| Which of the following collections stores its elements in insertion Order ? |
|Why HashTable has been deprecated ?|
|Can we use null as a key for a map collection ?|
|Can we add duplicate keys in a HashMap ? What will happen if we attempt to add duplicate values ?|
|Which of the following collection maintain its elements in Natural Sorted order ?|