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 you say HashMap is syncronized?

Answer Posted / aruna kadaari

By using the below statment we can stnchronize the hashmap


Hashmap hm = new Hashmap();
Map m = Collections.synchronizedMap(hm);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to print fibonacci series up to count 10.

902


What is field name?

1018


How do constructors use this() and super()?

1122


Why there are some null interface in java? What does it mean?

1127


What is ‘has a’’ relationship in java?

1221


What is main function purpose?

1035


What is final?

1077


How to sort elements in a parallel array in java?

893


Why vector is used in java?

1026


Discuss different types of errors that generally occur while programming.

1039


Can we nested try statements in java?

1103


Which class cannot be a subclass in java?

1023


Where is jre installed?

1044


What are the procedures?

1061


What is reverse function?

1135