what is Hashmap & Hashtable wirh example?
Answer Posted / sivadasan
Hashmap is not Synchronized where as Hashtable is
Synchronized.
Hashmap allows null values as keys.
Hashtable doesn't allows null values as keys.
Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
What is the byte order of byte buffer?
What is the default size of set in java?
How we can execute any code even before main method?
What is an error in java?
What is meant by memory leak?
What is the different between get and post?
What is difference between path and classpath variables?
Explain java coding standards for variables ?
What are the types of strings?
Are static members inherited to sub classes?
What does %d do in java?
What is remote method invocation (rmi)?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What is the difference between the paint() and repaint() methods?
worst case complexities of Quick sort and Merge sort.