How can you say HashMap is syncronized?

Answer Posted / rahul

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

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???

1674


Tell me are there implementations for sorting and searching in the java libarary?

602


What is a parameter in simple terms?

564


Why synchronization is important?

591


Can a class extends itself in java?

531






What is class array in java?

516


Define locale.

590


What's the base class of all exception classes?

569


What is super?

588


What is variable and its types?

547


Why is java so popular?

639


Is heap stored in ram?

529


Is string is a data type in java?

593


What are the uses of synchronized keyword?

558


What do you mean by byte code?

520