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 string builder?
Explain differences between checked and unchecked exceptions in java?
What is methods and methodology?
What are the basic concepts of OOPS in java?
What is the difference between the direct buffer and non-direct buffer in java?
What is linkedlist in java?
What are the elements of java?
What lambda means?
What is the use of inner class?
Write a program to solve producer consumer problem in java?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
What is the difference between synchronized and synchronized block?
What is the use of parseint in java?
What is variable and example?
Why string is called as immutable?