Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How does final modifier work?

1 Answers   Tech Mahindra,


Is oracle charging for java?

0 Answers  


What is the java reflection api? Why it’s so important to have?

0 Answers  


What is the use join() in Threads ?

5 Answers   HCL,


Can you use this() and super() both in a constructor?

0 Answers  


What is ternary operator?

0 Answers  


what is interface in java? Explain

0 Answers  


What is the difference between stream and buffer?

0 Answers  


What are the two ways you can synchronize a block of code?

5 Answers   Ericsson,


In Java, what are public static void main string args?

2 Answers  


how an we achive multiple inhetitance in java using interface..??

2 Answers  


How to initialize an Applet ?

9 Answers   TCS,


Categories