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 the string and stringbuffer classes?

1096


What is the difference between the session.update() method and the session.lock() method?

1002


whats is mean by connectionpooling

2007


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2669


What are externizable interface?

1056


How are the elements of a cardlayout organized?

1079


Can I run seam outside of jboss as?

1073


How to implement RMI in Java?

2867


What are the pros and cons of detached objects?

982


What is abstract schema?

1018


why static class in java

1768


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

1068


Name three component subclasses that support painting?

1071


Explain about thread synchronization inside a monitor?

2536


Why use POJO when I can use hashmap

2640