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
Is java a virus?
What do you mean by checked exceptions?
What is instance synchronization?
What is type inference in java8?
What is the latest java version?
how to create multithreaded program? Explain different ways of using thread? : Java thread
What is java volatile?
what is meant wrapper classes?
How to make object serializable in java?
What does \ mean in regex?
Why we use protected in java?
Why is method overloading not possible by changing the return type in java?
Why do we need autoboxing in java?
Is array serializable java?
When throws keyword is used?