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 backdrop?
Can final class have constructor?
Which method returns the length of a string?
What is final method in java?
How hashmap increases its size in java?
What is the disadvantage of synchronization?
What is append in java?
Can we extend a class with private constructor?
Discuss 2D arrays.
What is %02d?
How do you generate random numbers in java?
What is re-factoring in software?
How a variable is stored in memory?
How to make a class or a bean serializable?
What is assembly used for?