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
What is the difference between the string and stringbuffer classes?
What is the difference between the session.update() method and the session.lock() method?
whats is mean by connectionpooling
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
What are externizable interface?
How are the elements of a cardlayout organized?
Can I run seam outside of jboss as?
How to implement RMI in Java?
What are the pros and cons of detached objects?
What is abstract schema?
why static class in java
What do you need to set-up a cluster with jboss?
Name three component subclasses that support painting?
Explain about thread synchronization inside a monitor?
Why use POJO when I can use hashmap