Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Synchronized Methods and Synchronized Statements
What are synchronized methods and synchronized statements?
✍: FYIcenter
Synchronized methods are methods that are used to control access to a method or an object. A thread only executes a synchronized method after it has acquired the lock for the method's object or class. Synchronized statements are similar to synchronized methods. A synchronized statement can only be executed after a thread has acquired the lock for the object or class referenced in the synchronized statement.
2007-03-03, 5962👍, 0💬
Popular Posts:
it will be very helpful if you send some important Questions with Answers of DBMS Tell us what types...
When should the method invokeLater() be used? This method is used to ensure that Swing components ar...
How To Use an Array as a Queue? - PHP Script Tips - PHP Built-in Functions for Arrays A queue is a s...
Describe in detail Basic of SAO architecture of Remoting? For these types of questions interviewer e...
Can static variables be declared in a header file? You can't declare a static variable without defin...