Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is hashmap& hashtable with example?

Answer Posted / siva kumar g.

Both are collection of objects.
Both are used to store the key , value pairs.
Hashtable is synchronized where as Hashmap is not.
Hashtable does't allow the null values.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ternary operator?

956


Can you extend singleton class?

1034


Which data type is a class in java?

932


How infinite loop is declared?

961


Differentiate between == and equals().

987


What is the difference between JDK and JVM?

1171


What is a nested class?

1046


Can a static method be overridden in java?

963


Tell us something about an iterator.

896


How much is a java license?

868


Explain the differences between static and dynamic variables?

1078


What is data type in java?

865


What are the core java topics?

983


How can you add and remove nodes in jtree?

971


How do generics work in java?

940