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
How do you convert string to int in java?
What is the properties class?
Write a program to solve producer consumer problem in java?
Why is it called boolean?
Explain what is Marker interface?
Can we have this () and super () together?
What are measurable parameters?
What does n mean?
what state does a thread enter when it terminates its processing? : Java thread
What does replaceall do in java?
What is the declaration statement?
What is the use of a copy constructor?
what is synchronization? : Java thread
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
What is implicit object in java?