what is Hashmap & Hashtable wirh example?
Answer Posted / sivadasan
Hashmap is not Synchronized where as Hashtable is
Synchronized.
Hashmap allows null values as keys.
Hashtable doesn't allows null values as keys.
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
Why is java architectural neutral?
What are predicates in java 8?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What is the difference between final, finally and finalize() in java?
What is ordered map in java?
Explain the advantages of packages in java?
Which sort is best in java?
What is string builder in java?
What is the do while loop syntax?
Where import statement is used in a java program?
Why should we use singleton pattern instead of static class?
What is the use of default method in interface in java? Explain
What’s a deadlock?
What are the differences between heap and stack memory?
What is difference between arraylist and list in java?