How can you say HashMap is syncronized?
Answer Posted / rahul
yes u r correct, hashmap is not threadsafe. It is hashtable
which is synchronized.
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is string data type?
What is covariant return type?
What is the purpose of default constructor?
Explain wait() method of object class ?
Do I need to import java.lang package any time? Why?
Explain about features of local inner class?
Is ++ operator thread-safe in java?
What do you mean by mnemonics?
What is the access scope of a protected method?
Do you need to import math in java?
What is abstract class constructor called?
What is the difference between compare and compareto in java?
What is the size of string?
How do you check if a number is a perfect square?
explain copyonwritearraylist and when do we use copyonwritearraylist?