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
How can you handle java exceptions?
What do negative exponents mean?
In java, how we can disallow serialization of variables?
Can we start a thread twice in java?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
What is garbage collection? Can it be forced to run?
What is the use of volatile in java?
What is final modifier?
What is a finally block?
Is class forname reflection?
Explain garbage collection in java?
Can we use string in the switch case?
Why isn’t there operator overloading?
What is final access modifier in java?
What is meant by inheritance and what are its advantages?