how to make hashmap object as synchronized object?

Answer Posted / parishudh

Collections.synchronizedMap(<your hashmap reference>)

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is best ide for java?

532


What is map java?

527


Explain with example the concept of constant variable in java.

646


why Interface used?

545


What is the old name of java?

513






Which data type is class in java?

565


What does flagged out mean?

579


Explain about public and private access specifiers?

544


Difference between concurrent hashmap and hashtable and collections

571


Is 0 true or false?

519


What are reference variables in java?

606


What is java used for?

564


What is the synonym of string?

550


Explain access modifiers in java.

592


What is string data type?

563