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
What is strings in java?
What is string in java?
What is the purpose of the enableevents() method in java programming?
What is meant by data hiding in java?
What is numeric function?
What are alternatives to java serialization?
What is size () in java?
How do you clear a list in java?
What do you understand by the term singleton?
What are different types of arrays?
What are the files generated after using IDL to java compiler?
How to restrict a member of a class from inheriting by its sub classes?
What is a text string?
What is the difference between the file and randomaccessfile classes?
What 5 doubled?