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

Is a class a subclass of itself?

1314


What is Stream Tokenizer?

2322


what are RemoteObjects?

2790


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

3050


What are the steps to write p-to-p model application?

2531


wahts is mean by dynavalidatorform in struts/

2117


what are the advantages of JTA over JTS?

2286


Write a singleton program?

1105


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

2282


Why is string immutable in java?

1144


Explain the advantages and disadvantages of detached objects.

1076


what is meant by JRMP?

2430


What is the purpose of the notifyall() method?

1091


What happens when a thread cannot acquire a lock on an object?

1087


Can I run seam outside of jboss as?

1112