what is synchronization

Answer Posted / reddy

Two or more threads trying to access the same method at same
point of time leads to Synchronization.If that method is
declared as synchronized,only one thread can access at that
time of another thread can access that method only if the
first thread task is completed.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two ways in which thread can be created?

590


Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

521


What is the purpose of the system class in java programming?

536


Can private class be extended java?

553


What is meant by binding in rmi?

537






What variables are stored in stack?

521


How to create com object in Java?

641


Why java is not 100% object-oriented?

821


What is meant by structural programming?

542


What is the collections api in java programming?

544


How do you compare arrays in java?

492


What is nextint java?

539


What do you understand by access specifiers in Java?

577


What is java util concurrentmodificationexception?

490


What are the ways to instantiate the class class?

591