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 you download stubs from Remote place?

1712


Why stringbuffer is faster than string?

995


Why does java not support operator overloading?

1085


What do you understand by the term string pool?

960


What's the access scope of protected access specifier?

991


What is keyword auto for?

1106


Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.

977


What are different types of multitasking?

908


What is string and example?

985


Can you call a method on a null object?

969


How do you break a loop?

929


What is a lock or purpose of locks in java?

975


What is the program compilation process?

1036


What is unicode used for?

1085


define the terminology association.

1048