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 / stalin

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 ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what methods would you overwrite in java.lang.object class?

1005


What is a char in java?

1042


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

1294


What is proper subset?

976


What is the maximum size of list in java?

973


Where are global variables stored?

957


What is static keyword?

1155


What is var keyword ?

1191


What is the difference between integer parseint and integer valueof?

1001


What is return keyword in java?

1054


What are abstract classes and anonymous classes?

1075


What do you mean by Hash Map and Hash Table?

1097


What is the difference between sleep and wait in java?

966


Give the difference between the println method and sqrt method?

1086


What are access specifiers in java ?

1144