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
How to make a class or a bean serializable?
What are streams?
Explain all java features with real time examples
What is singleton pattern?
Why 1 is not a prime number?
What is a boolean used for?
What does int argc char * argv [] mean?
what is function overloading in java?
Is java a virus?
Write a program to show whether a graph is a tree or not using adjacency matrix.
What is mnemonic in assembly language?
Tell me a few examples of final classes defined in Java API?
What are the two ways of implementing multi-threading in java?
Is array synchronized in java?
How does compareto work in java?