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

How do you change an int to a string?

1005


What is encapsulation in java?

1114


What is 16 bits called?

946


Is linked list a linear or non-linear data structure?

971


What is purpose of keyword void?

1049


Can you instantiate the math class?

1057


Is array a class?

927


Does chrome use java?

965


what is daemon thread and which method is used to create the daemon thread? : Java thread

972


What are decalarations?

1125


Can inner class be public in java?

1015


What methods are used to get and set the text label displayed by a button object?

1016


Describe how to implement singleton design pattern in struts.

1005


How does linkedlist work in java?

929


What is thread start?

959