what is difference betwwen hashmap and hashtable ?
Answer Posted / ravikiran
hashmap allows one null key and multiple null values.
hashtable doesn't allow null elements
hashmap is not synchronized
hashtable is snchronized
hashmap is not legacy
hashtable is legacy
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is a double?
Explain about interrupt() method of thread class ?
What are pass by reference and pass by value?
What is broken and continue statement?
Explain about sets?
What is unicode full form?
Why is static used?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
How can you handle java exceptions?
please send me hr interview questions in it industry
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What is fail first in java?
What will happen when using pass by reference in java?
What is method overloading with type promotion?
Is there a jre for java 11?