Difference between Hash Table and Hash Map?
Answer Posted / devendra.m
HashMap and HashTable both are equal...
HashMap is non-synchronized one,where as HashTable
synchronized one.
HashMap allows null as a key & value pair.
where as hashtable wont allows null as key & value pair.
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What are different types of expressions?
What is the declaration statement?
How do I run java on windows?
What is the public field modifier?
How can we create objects if we make the constructor private ?
What are keyboard events?
What is java util?
Explain how hashmap works?
Which data type is a class in java?
What are benefits of java?
What are the important features of Java 11 release?
Is singleton a bad practice?
How to change value in arraylist java?
What is the default value of byte datatype in java?
What is the purpose of the main method?