❮ Previous Next ❯

Map Interface

Map Implementations:

Since Map is an interface you need to instantiate a concrete implementation of the interface in order to use it. We can choose between the following Map implementations in the Java Collections API:

In my point of view, the most commonly used Map implementations are HashMap and TreeMap.Here are a few examples of how to create a Map instance:

Map m = new HashMap();
Map m = new TreeMap();
❮ Previous Next ❯



  Tutorials

Popular Links

Contact Us

address Plot No-741,2ND Floor
Opp. Bhagabati Temple,Jayadev Vihar
      Bhubaneswar-751013
      Email: info@silantechnology.com
      Phone: 0674-2361252
address
39877, sundale dr, apt#101, Fremont, California 94538, USA
       Phone: +1(262)388-7619

facebook twitter google linked in

© 2018 Silan Technology. All Rights Reserved