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
How we can declare a static variable?
Explain the key functions of data binding?
What is time complexity algorithm?
How do you sing an Applet ?
What is mean by exception?
Can main() method in java can return any data?
What do you understand by Header linked List?
Is java an open source?
Why declare Main() inside the class in java ?
Why collection is called framework in java?
Is arraylist an object in java?
What is an object's lock and which object's have locks in java programming?
What are the differences between this and super keyword?
What about abstract classes in java?
Write a program in java to establish a connection between client and server?