Java: Map Interface Methods and Examples
Java: Map Interface Methods and Examples
In the collection framework, a map contains values on the basis of key and value pairs. This pair is known as an entry.
Points to Remember
Map contains unique keys.
Map allows duplicate values.
Map is useful to search, update or delete elements on the basis of a key.
Map is the root interface in the Map hierarchy for Collection Framework.
Map interface is extended by SortedMap and implemented by
View On WordPress















