Friday, July 15, 2011

Java Questions - 12

Why would you use a synchronized block vs. synchronized method?

Synchronized blocks place locks for shorter periods than synchronized methods.

No comments: