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
Explain working of call by reference function invoking.
What is the difference between heap memory and stack memory?
Why does java not allow multiple public classes in a java file ?
how we can make a read-only class in java?
Can you explain the usages of class.forname()?
What is static and final keyword in java?
Write a program to print fibonacci series
Explain the differences between abstraction and encapsulation?
What is difference between ++ I and I ++ in java?
Is math class static in java?
What is memory leak and how does java handle it?
What is a two-pass assembler?
What is * argv?
what do you mean by stream pipelining in java 8? Explain
What causes memory leaks in java?