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 unicode used for?
What is listnode in java?
What is bean? Where it can be used?
how to split string in java?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
Can we restart a thread already started in java?
What is the main advantage of passing argument by reference?
Explain the importance of throwable class and its methods?
What is string in java is it a data type?
What is casting in java programming?
java program with complete 4 oops concepts implemented example
Explain about version control?
What is a flag variable?
What is a class object?
Explain access modifiers in java.