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 HashMap, Hashset and hashTable?

Answer Posted / sujitpingale

HashMap -
1) unsynchronized and unordered
2) Allow one null key , multiple null values


HashTable -
1) synchronized and unordered
2) Doesn't allow null key and value


HashSet -
1) synchronized and ordered
2) Sort elements in ascending order , doesn't allow duplicate elements

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between system.out ,system.err and system.in?

1051


Difference between DurableSubscription and non- DurableSubscription?

2136


Explain the advantages and disadvantages of detached objects.

966


What is scalable, portability in the view of J2EE?

2475


When is the best time to validate input?

1062


What are the difference between RMI and CORBA?

1057


Why does the tag url-encode javascript and mailto links?

957


How to determine SGA site?

2478


Can I use javascript to submit a form?

1099


Which class is the immediate superclass of the menucomponent class?

1152


What is the relation between the infobus and rmi?

953


Define prototype?

1000


What do you know about seam?

982


What do you need to set-up a cluster with jboss?

1020


Explain about thread synchronization inside a monitor?

2482