Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


how can we synchronize Hash map?

Answers were Sorted based on User's Feedback



how can we synchronize Hash map?..

Answer / vikram kc

Collections.synchronizedMap(hashMap)

Is This Answer Correct ?    18 Yes 2 No

how can we synchronize Hash map?..

Answer / ravikiran

Collections.synchronizedMap(new HashMap());

Is This Answer Correct ?    10 Yes 1 No

how can we synchronize Hash map?..

Answer / prabhu

hasgmap hs=new hashmap();
vector v =new vector (hs);

Is This Answer Correct ?    2 Yes 10 No

Post New Answer



More Core Java Interview Questions

String class is defined under which package in java?

0 Answers  


when to use abstract class and when to use interface?

16 Answers   Exterro, iGate, IonIdea,


What do you understand by the bean persistent property?

0 Answers  


Differentiate between a class and an object.

0 Answers  


What is the synonym of framework?

0 Answers  






What is externalizable?

0 Answers  


If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about specification.

2 Answers  


Name the package that most of the AWT events that supports event-delegation model are defined?

2 Answers  


Can you run java program without main method?

0 Answers  


What is compiler and what its output.

0 Answers   Cognizant,


How many Java environments are there?

1 Answers   Phantom Technologies,


How many bits is a float?

0 Answers  






Categories