How can you say HashMap is syncronized?

Answer Posted / reddy edagottu

HashMap is a collection class which is a syncronized class
why because if one thread is processing one process another
thread will wait for when running thread will comeout after
then only next thread will enter into that process that's
why it is syncronized

Is This Answer Correct ?    3 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is printwriter in java?

522


What is main method?

539


What is the meaning of flag day?

545


Which is easier netbeans or eclipse?

614


Does java set allow duplicates?

530






How many types of gc are there in java?

572


What is the difference between sleep and wait in java?

516


Why is the main method static?

607


What is the declaration statement?

519


What method is used to specify a container's layout in java programming?

546


What does  mean in regex?

574


Can we define constructor in inner class?

545


What are static variables and functions?

631


can rmi and corba based applications interact ?

672


How to add menushortcut to menu item?

567