Difference between Hash Table and Hash Map?
Answer Posted / guest
HashTable is synchronized where as HashMap is not.
HashMap allows null values for (key,value) for only once
where as HashTable does not.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is singleton class thread safe?
what is difference between equals and ==?
What is the use of parse function in java?
What are the types of methods in java?
Why Java doesn’t support multiple inheritance?
What is a ternary operator in java?
How can we pass argument to a function by reference instead of pass by value?
Why wait and notify methods are declared in object class?
What is use of static method?
Do you need to import math in java?
Why constructor has no return type?
What's the base class in java from which all classes are derived?
What is the difference between synchronized and synchronized block?
What is hasnext in java?
What are the different ways of implementing thread? Which one is more advantageous?