What are synchronized methods and synchronized statements?

Java Programming Language >   Fundamentals of Object-Oriented Programming >   About Java Tutorial  

Short Question

996


Answer:

Synchronized methods are methods that are used to control access to an object. A synchronized statement can only be executed after a thread has acquired the lock for the object or class referenced in the synchronized statement.


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.