what is the difference between HashMap and Hashtable
Answer Posted / venkatesh marni
in the HashMap & Hashtable wen ever key values are Same then
it maps only to the value which is mapped at last.
REFER to the ANS.9 above we can access only one value.
but Hashtable is Synchronized one and it wont stores any
null values.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why we override equals() method?
what is aggregation in java?
Can list contain null in java?
When should I use a singleton?
What are the differences between getting and load method?
Why is boolean important?
What are namespaces in java?
Write a program to reverse array in place?
What are constructors in java?
What is hash table in java?
What is a vararg?
If goto and const is reserve words than why it is not work in java?
What is the purpose of file class?
Explain try and catch keywords in java?
Define how objects are stored in java?