HashMap in java

Ashok Veer | May 06, 2020 | | |


HashMap uses Hashing technique for storing key and value pair in java.
The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls.


Java HashMap is a part of collection since jdk 1.2 versions. HashMap implements the Map interface and extends AbstractMap class. HashMap stores data in key & value pairs.  



Share this article

0 comments:

Post a Comment

 
Copyright © 2019 techfloaters • All Rights Reserved.
Template Design by Ashok Veer ( veersoft solution)