what is the difference between HashMap And HashTable?
Answer Posted / ravikiran
HashMap allows one null key and multiple null values
HashTable doesnn't allow nulls
HashMap is not synchronized
hashtable is synchronized
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is the difference between hashset and treeset in java?
What is a parameter used for?
What causes memory leaks in java?
What languages are pass by reference?
Which language is java?
Write a java program to check if a number is prime or not?
How do I convert a string to an int in java?
What is a flag variable?
What is instance synchronization?
What is a null class?
What are annotations in java?
Can we have a try block without catch block?
What are benefits of java?
How to overcome the exception object reference not set to an instance of object?
What is regex java?