Custom Search

What is the neccesity of using a synchronized block vs. synchronized method?

Synchronized blocks set locks for shorter periods than synchronized methods.