Difference between Hash Table and Hash Map?
Answer Posted / devendra.m
HashMap and HashTable both are equal...
HashMap is non-synchronized one,where as HashTable
synchronized one.
HashMap allows null as a key & value pair.
where as hashtable wont allows null as key & value pair.
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
Is empty list java?
What is an immutable class? How to create an immutable class?
What is hash code collision?
Give me some null interfaces in java?
How hashmap works in java?
What do you mean by Hash Map and Hash Table?
what invokes a threads run() method? : Java thread
What is the advantage of OOP in java?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
What are the different types of java?
Is 0 a real number?
List some important features of java 10 release?
How do you break a loop?
Can we catch more than one exception in single catch block?
What is the internal implementation of set in java?