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

HashMap only one null key and multiple values. Hashtable
doesn't allow null keys and values, it throws
NullPointerException. Both are not guarantee order. HashMap
is unsyncronized, whereas Hashtable is not.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the important features of Java 10 release?

953


Can you inherit a constructor java?

1018


In the below example, how many string objects are created?

978


What are internal variables?

940


What is the difference between throw and throws in java?

1028


what are three ways in which a thread can enter the waiting state? : Java thread

949


What is the difference between @before and @beforeclass annotation?

1013


What is the difference between the prefix and postfix forms of the ++ operator?

964


How can we create a thread in java?

962


What are the drawbacks for singleton class?

943


How to create an immutable class?

1035


Which category the java thread do fall in?

943


How do I compare two strings in word in java?

935


How to use Media tracker Class.

1081


Can a method be overloaded based on different return type but same argument type?

907