what is the difference between HashMap and Hashtable
Answer Posted / sarithareddy
Hashmap work as like as Hashtable but hashtable is
synchronised hash map was not sychronized
hashtable does not allow null values
hashmap allows null values
| Is This Answer Correct ? | 123 Yes | 16 No |
Post New Answer View All Answers
What is difference between string and new string?
What is used of static keyword in java?
What is the importance of static variable?
Is java util regex pattern thread safe?
What are scriptlets?
How can we make copy of a java object?
Is set ordered?
What is the use of singleton class?
Can we create constructor in abstract class ?
How can we break singleton in java?
What are 3 data types?
Why are generics used?
What do you understand by Header linked List?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
What are different types of references?