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?

Answers were Sorted based on User's Feedback



How can you say HashMap is syncronized?..

Answer / maheswari

First of all I don't think HashMap is Syncronized,is it not
HashTable

Is This Answer Correct ?    27 Yes 0 No

How can you say HashMap is syncronized?..

Answer / rahul

yes u r correct, hashmap is not threadsafe. It is hashtable
which is synchronized.

Is This Answer Correct ?    15 Yes 0 No

How can you say HashMap is syncronized?..

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

How can you say HashMap is syncronized?..

Answer / suma

I agree with you. HashMap is not synchronized.

Is This Answer Correct ?    11 Yes 0 No

How can you say HashMap is syncronized?..

Answer / dijesh

hashmap is unsynchronised and hash table is
synchronised.....hashmap permits null...but hashtable does
not.

Is This Answer Correct ?    7 Yes 0 No

How can you say HashMap is syncronized?..

Answer / senthil

raja vin paarvai raniyin pakkam, kan mooduthe vetkam pon
maalai mayakam.toku toku toku,java is a very worest
language in computer or IT field

Is This Answer Correct ?    4 Yes 2 No

How can you say HashMap is syncronized?..

Answer / rajender

i agree with 3,4,5,6,7 answers .hashmap is not syncronized

Is This Answer Correct ?    2 Yes 0 No

How can you say HashMap is syncronized?..

Answer / jyotisubhra ghosh

I am sorry...HashMap is not syncronised. Its not thread
safe..rather Hashtable is syncronised...

Is This Answer Correct ?    2 Yes 0 No

How can you say HashMap is syncronized?..

Answer / vikas

HashMap is not synchronised, nor thread safe.

Is This Answer Correct ?    2 Yes 0 No

How can you say HashMap is syncronized?..

Answer / sunil

Hash map is unsyncronised and hash table is syncronised

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Does java map allow duplicates?

0 Answers  


What is lifetime variable?

0 Answers  


What is the basically use of finally while we know it is always executed but why?

5 Answers   Oracle, TCS,


Do you know how to reverse string in java?

0 Answers  


I dont want to use serialzable in java is there any another concept so plz tell me

3 Answers   WDC,


What is qualitative variable?

0 Answers  


How do you get the length of a string in java?

0 Answers  


Why do we need wrapper classes?

0 Answers  


What is instance example?

0 Answers  


What is the use of list in java?

0 Answers  


Name the package that always imported by default?

4 Answers  


How can we make a class singleton?

0 Answers  


Categories