Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

java.util.HashMap in detail with a program

Tags: hashmap
HashMap is a class from java.util package and extends AbstractMap, implements Map,Cloneable and Serializable interfaces. HashMap contains Key,Value parameters we can denote it as HashMap<Key,Value> or HashMap<k,v>.Map allows only one null key and many null values and all the methods in HashMap are not synchronized. HashMap is an unordered collection , means the keys and values will not maintain insertion order.
An instance of HashMap has two parameters that affect its performance: initial capacity and load factor.
Let us know the terminology used in HashMap.
Read more »
©JavabynataraJ is a blog with java tutorials and Real time tips.


This post first appeared on JAVAbyNATARAJ, please read the originial post: here

Share the post

java.util.HashMap in detail with a program

×

Subscribe to Javabynataraj

Get updates delivered right to your inbox!

Thank you for your subscription

×