what is the difference between HashMap and Hashtable
Answer Posted / avinash
1. Hash map is not is synchornized
2. Hash map is allow null value only at once.
3. iterator is fail safe
1.Hash table is synchronized.
2. Hash table isnot allow null value.
3. enum hashtable is not.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the use of optional ?
State two differences between C and Java.
What are different types of classloaders?
Difference between class#getinstance() and new operator ?
What is the dot operator?
What is an object in java?
What is the internal implementation of set in java?
Can a class extends itself in java?
How many bytes is a string java?
What is natural ordering in java?
How do you reverse a word in java?
What exactly is methodology?
Explain a situation where finally block will not be executed?
What is illegal identifier in java?
What is numeric function?