how to make hashmap object as synchronized object?

Answers were Sorted based on User's Feedback



how to make hashmap object as synchronized object?..

Answer / parishudh

Collections.synchronizedMap(<your hashmap reference>)

Is This Answer Correct ?    12 Yes 1 No

how to make hashmap object as synchronized object?..

Answer / aroyal

Thanks

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Core Java Interview Questions

what are the differences between java and .net?..why u choose java?

1 Answers  


What is constructor and its types?

0 Answers  


What is the use of TL?

0 Answers  


What is void keyword?

0 Answers  


whats string ?

10 Answers   HCL,


define the terminology association.

0 Answers  


What is file in java?

0 Answers  


how to create constants in java?

0 Answers  


what is connection pooling with example?

3 Answers   Amdocs,


what is meta-Inf?

2 Answers   Polaris,


What is the use of arrays tostring () in java?

0 Answers  


How do I enable java in safari?

0 Answers  


Categories