Organizational Research By

Surprising Reserch Topic

Question:What are synchronized methods and synchronized statements?


Synchronized methods are methods that are used to control access to 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.
asked Sep 13, 2013 in JDBC Interview questions by anonymous
edited Sep 12, 2013
0 votes
26 views



Related Hot Questions



Government Jobs Opening


...