What is the Map interface?

Discussion in 'Web Development' started by Jessus, Jun 12, 2017.

  1. Jessus

    Jessus New Member

    Joined:
    Jun 3, 2017
    Messages:
    4
    Likes Received:
    0
    A map is an object which helps to map the keys to values. It is not possible to have duplicate keys. It is essential that each key should map to one value.
    Three Map implementations are
    • Hashmap
    • LinkedHashmap
    • Treemap
     
  2. tyler

    tyler Staff
    Staff Member

    Joined:
    Feb 25, 2013
    Messages:
    368
    Likes Received:
    37
    Hello! I'm not sure what you are asking to be honest. What language are you referring to?
     
  3. David_82

    David_82 New Member

    Joined:
    Jun 3, 2017
    Messages:
    3
    Likes Received:
    0
    A Map is an object that maps keys to values. A map cannot contain duplicate keys: Each key can map to at most one value.
     
  4. Jessus

    Jessus New Member

    Joined:
    Jun 3, 2017
    Messages:
    4
    Likes Received:
    0
    JavaScript & AJAX
     

Share This Page