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 the difference between HashMap and Hashtable

Answer Posted / arun rajesh

The HashMap class is roughly equivalent to Hashtable,
except that it is unsynchronized and permits nulls.
(HashMap allows null values as key and value whereas
Hashtable doesnt allow).

HashMap does not guarantee that the order of the map will
remain constant over time. HashMap is unsynchronized and
Hashtable is synchronized.

Is This Answer Correct ?    54 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is namespace in java?

1001


placement papaers of spring computing technology

1404


What is r * in math?

999


What are the difference between composition and inheritance in java?

1027


What is meant by data hiding in java?

1145


What do you mean by platform independence? What is an interface?

1033


What is the use of java?

959


When do we use synchronized methods in java?

1045


What is bubble sort in java?

1050


What is static data type in java?

1028


What is difference between adapter class and listener?

1038


Justify your answer that you can't define a method inside another method in java, if you can then how?

1168


What are the advantages of functions?

916


What is advantage of java?

1020


Why do people says “java is robust”?

1029