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
Is a class a subclass of itself?
What is Stream Tokenizer?
what are RemoteObjects?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
What are the steps to write p-to-p model application?
wahts is mean by dynavalidatorform in struts/
what are the advantages of JTA over JTS?
Write a singleton program?
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.
Why is string immutable in java?
Explain the advantages and disadvantages of detached objects.
what is meant by JRMP?
What is the purpose of the notifyall() method?
What happens when a thread cannot acquire a lock on an object?
Can I run seam outside of jboss as?