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 / kishore

HashMap is not synchronized.
If u want to synchronized we have to do
HashMap map=java.util.Collections.synchronizedMap(new
HashMap());
Hash Map permits Key and values are Null.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is null function in java?

1102


What is the use of isempty in java?

1075


What is the difference between equals() and?

1258


Is nan false?

1040


What is a constructor, constructor overloading in java?

1041


What are the topics in core java?

1126


How can we make string upper case or lower case?

1137


If an application has multiple classes in it, is it okay to have a main method in more than one class?

1055


What is files manifesting?

2253


Can we access instance variables within static methods ?

1150


List the different types of classloaders in java.

1013


Which is bigger double or float?

1030


Are static members inherited to sub classes?

1186


In a container there are 5 components. I want to display all the component names, how will you do that?

2245


Why is a constant variable important?

996