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. |
|
| ||||
Core Java - Interview Questions and Answers for 'Map vs multimap' - 1 question(s) found - Order By Newest | ||||
| ||||
Ans. We can have duplicate keys within MultiMap whereas we cannot have duplicate keys within Java Util Map. We can have a Map with value as a "collection of values" instead of single value to have a similar function as Multimap. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  Apache commons multimap  map vs multimap | ||||
Related Questions | ||||
Difference between HashMap and Hashtable? | ||||
Difference between TreeMap and HashMap ? | ||||
Can you provide some implementation of a Dictionary having large number of words ? | ||||
How is Hashmap internally implemented in Java ? | ||||
What is a ConcurrentHashMap ? | ||||
Collections.sort can only be performed on .. a. Set b. List c. Map d. Any Collection implementation | ||||
Why HashTable has been deprecated ? | ||||
What is the difference between List, Set and Map ? or What are the different Java Collections Interfaces ? | ||||
Can we use null as a key for a map collection ? | ||||
What is comparator interface used for ? | ||||