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...

Difference between Hash Table and Hash Map?

Answer Posted / ravikiran

HashTable is the collection which is legacy.Which doenn't
allows null keys and null values.And methods access is
synchronized.
HashMap is the collection which can allow one null key and
multiple null values.And methods access is not synchronized.

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between error and an exception?

1158


Why put method is idempotent?

919


When should you use arraylist and when should you use linkedlist?

932


Why array is used in java?

975


Can we execute a program without main() method?

1044


What are the different types of garbage collectors in java?

1142


What is the purpose of extern variable?

1018


What is an example of declaration?

1010


What is return data type?

1009


What is the purpose of the strictfp keyword?

1164


What are the types of methods in java?

1118


What does this () mean in java?

984


How to display all the prime numbers between 1 and 100

1016


Which methods cannot be overridden in java?

1001


what is singleton class in java?

1058