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
How dead lock situation occurs in java and how you can identify it?
Can we have two main methods in a java class?
What is a 16 bit word?
What is the default execution method in java?
What is static keyword in java?
How to create an interface?
What do you know about java?
when to use ArrayList and when to use HashMap in webApplication.
What is immutable class in java?
What is double in java?
a thread is runnable, how does that work? : Java thread
What an i/o filter in java programming?
What are the advantages of encapsulation in java?
What is a bubble sort in java?
What is the main purpose of java?