How can you say HashMap is syncronized?
Answer Posted / jyotisubhra ghosh
I am sorry...HashMap is not syncronised. Its not thread
safe..rather Hashtable is syncronised...
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how we can create packages in java?
What is hasnext in java?
How we create object in copy constructor?
What method is used to specify a container's layout in java programming?
What are java packages?
What is the difference between preemptive scheduling and time slicing?
What is stack class in java?
What are aggregate functions explain with examples?
Can a final variable be null?
What are runtime exceptions?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
Difference between string, string builder, and string buffer?
What is string buffer?
How can you make a class serializable in java?
What is the synchronized method modifier?