Difference between Hash Table and Hash Map?
Answer Posted / anand
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 ? | 2 Yes | 5 No |
Post New Answer View All Answers
State one difference between a template class and class template.
Can keyword be used as identifier?
What is the java reflection api? Why it’s so important to have?
Why is java called the platform independent programming language?
Is hashset ordered?
Explain about version control?
What is xslt in java?
What is difference between final and finally in java?
Can a class have multiple constructors?
How will you compute size of a structure?
When the constructor of a class is invoked?
Explain the access modifiers for a class, method and variables?
Explain the difference between runnable and callable interface in java?
Why is serialization required?
Give some features of interface?