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 r in java?
Is it possible to specify multiple jndi names when deploying an ejb?
What’s the difference between the methods sleep() and wait()?
What is object cloning in Java?
What are the differences between abstract class and interface?
What are sets in java?
Differentiate between static and non-static methods in java.
What are methods?
What do you understand by final value?
What is multi-catch block in java?
How do you convert int to char in java?
What are java methods?
What is the difference between array list and vector in java?
What is the difference between length and length() method in java?
Can we have try block without catch block?