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 hashmap& hashtable with example?

Answer Posted / siva kumar g.

Both are collection of objects.
Both are used to store the key , value pairs.
Hashtable is synchronized where as Hashmap is not.
Hashtable does't allow the null values.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I find and replace in word?

1025


What are the two ways in which thread can be created?

1107


Why is java called the platform independent programming language?

1062


What do you mean by append?

1135


What is the vector class in java programming?

1142


What is a class component?

1220


explain what is transient variable in java?

1191


What is the difference between jdk and jre?

1112


What is difference between equal and == in java?

1006


List the interfaces which extends collection interface?

1000


What is a arraylist in java?

1128


What is a method declaration?

1033


How to disable caching on back button of the browser?

1137


How do you get the length of a string in java?

1058


What is the difference between variable & constant?

1091