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 / venkatesh marni

in the HashMap & Hashtable wen ever key values are Same then
it maps only to the value which is mapped at last.
REFER to the ANS.9 above we can access only one value.

but Hashtable is Synchronized one and it wont stores any
null values.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you handle java exceptions?

1034


What do negative exponents mean?

1054


In java, how we can disallow serialization of variables?

994


Can we start a thread twice in java?

987


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?

1458


What is garbage collection? Can it be forced to run?

1013


What is the use of volatile in java?

1059


What is final modifier?

1064


What is a finally block?

988


Is class forname reflection?

991


Explain garbage collection in java?

988


Can we use string in the switch case?

1045


Why isn’t there operator overloading?

1095


What is final access modifier in java?

1155


What is meant by inheritance and what are its advantages?

1109