Example & Tutorial understanding programming in easy ways.

Why we use Map interface? What are main classes implementing Map interface?

Map interface is a special type of collection which is used to store key-value pairs. It does not extend Collection interface for this reason. This interface provides methods to add, remove, search or iterate over various views of Map.
 
 Main classes implementing Map interface are:
 1 HashMap
 2 Hashtable
 3 EnumMap
 4 IdentityHashMap
 5 LinkedHashMap
 6 Properties

Read More →