How can you say HashMap is syncronized?
Answer Posted / kishore
HashMap is not synchronized.
If u want to synchronized we have to do
HashMap map=java.util.Collections.synchronizedMap(new
HashMap());
Hash Map permits Key and values are Null.
Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is high level language in computer?
what is the use of bean managed and container managed with example?
What does file separator do in java?
What are white spaces in java?
Tell me about different OOPS concepts.
How to perform merge sort in java?
What are thread priorities and importance of thread priorities in java?
What are examples of modifiers?
What is string in java with example?
Write a java program to generate fibonacci series ?
What is foreach loop in java?
What is a ternary operator in java? What is an interface?
Is string an object?
is it possible to instantiate the math class?
What do bitwise operators do?