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
please send me hr interview questions in it industry
What is static import in java?
Why is a constant variable important?
Can we define constructor in inner class?
Are primitives objects?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
How can we find the sum of two linked lists using stack in java?
Is an empty arraylist null?
What is the protected method modifier?
Can a class have a static inner class?
How big is a 32 bit integer?
What is a null point?
How to print an arraylist in java?
Can you declare an interface method static?
What is valid keyword in java?