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
Can I import same package/class twice? Will the jvm load the package twice at runtime?
the same information whether it will connect to the database or it will be used previous information?
How will you pass parameters in RMI? Why do you serialize?
What is RMI and what are the services in RMI?
What is the difference between RMI registry and OS Agent?
what is an isolation level?
How can I scroll through list of pages like the search results in google?
What is the difference between the session.get() method and the session.load() method?
What class is the top of the awt event hierarchy?
Why use POJO when I can use hashmap
What is mdb and what is the special feature of that?
Define prototype?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
What value does readline() return when it has reached the end of a file?
How a component can be placed on Windows?