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

I don’t want my class to be inherited by any other class. What should I do?

972


How do you check if a number is a perfect square?

945


What is map in java?

951


Why is String immutable?

1019


What is a two-pass assembler?

995


What is difference between static variable and global variable?

1003


how can i use a nonsynchronized hashtable?

2535


Discuss different types of errors that generally occur while programming.

987


When do we use synchronized blocks and advantages of using synchronized blocks?

1178


What is the parse method in java?

1057


Explain about data types?

1015


What do you mean by platform independence of Java?

1081


Is zero a natural number?

985


What is the exact difference in between Unicast and Multicast object?

2054


which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

3609