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 system.out ,system.err and system.in?
Difference between DurableSubscription and non- DurableSubscription?
Explain the advantages and disadvantages of detached objects.
What is scalable, portability in the view of J2EE?
When is the best time to validate input?
What are the difference between RMI and CORBA?
Why does the tag url-encode javascript and mailto links?
How to determine SGA site?
Can I use javascript to submit a form?
Which class is the immediate superclass of the menucomponent class?
What is the relation between the infobus and rmi?
Define prototype?
What do you know about seam?
What do you need to set-up a cluster with jboss?
Explain about thread synchronization inside a monitor?