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

Can a class have a static inner class?

1026


How do you declare an array that will hold more than 64KB of data?

1188


Which package is used for pattern matching with regular expressions?

1054


What do you understand by java?

922


Can we able to pass objects as an arguments in java?

962


Does chrome use java?

906


Why constructor has no return type?

1052


Explain the overview of UDP messaging.

1077


What is the use of hashmap in java?

1022


List the interfaces which extends collection interface?

890


What are scalar data types?

984


What is the meaning of 3 dots in java?

1099


Which data type is class in java?

950


how can you take care of mutual exclusion using java threads? : Java thread

990


What is the final keyword?

935