Explain about Map and its types.

Answer: Map cares about the unique identifier. We can map a unique key to a specific value. It is a key/value pair. We can search a value, based on the key. Like the set, the map also uses the “equals ( )” method to determine whether two keys are the same or different.

Map is of following types:

  1. Hash Map
  2. Hash Table
  3. Linked Hash Map
  4. TreeMap

Title
examples of Hash map in java programming
examples of Hash Table in java programming
examples of Linked Hash Map in java programming
examples of TreeMap in java programming
total topics: 4

Topics

4

Views

240

Best Answers

299

Points

5