ProAnswers.org

What is the difference between synchronized block and synchronized method ?

Synchronized blocks place locks for the specified block where as synchronized methods place locks for the entire method.