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
Is it safe to install java on my computer?
Can a method be overloaded based on different return type but same argument type?
Can we use return in constructor?
What is __ init __ functions?
What is a numeric string?
How can you handle java exceptions?
Can we override static methods in java?
What is string example?
What is OOP's Terms with explanation?
What is an exception? difference between Checked and Unchecked exception in Java
What is a variable in java?
How do you create a sop?
How do you escape in java?
Is vector ordered in java?
How a string is stored in memory?