Difference between Hash Table and Hash Map?
Answer Posted / ravikiran
HashTable is the collection which is legacy.Which doenn't
allows null keys and null values.And methods access is
synchronized.
HashMap is the collection which can allow one null key and
multiple null values.And methods access is not synchronized.
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
What are the two main uses of volatile in Java?
Explain about static nested classes in java?
Explain restrictions for using anonymous inner classes?
List some features of the abstract class.
How define set in java?
Why are variables important in research?
What is the difference between class & object?
Difference between concurrent hashmap and hashtable and collections
What are the drawbacks for singleton class?
What about static nested classes in java?
How use .contains in java?
Explain the scope of a variable.
What does a void function return?
What is a layout manager and what are different types of layout managers available in java awt?
What is re-factoring in software?