Synchronized methods and locks
<p>When a thread invokes a synchronized method, it automatically acquires the intrinsic lock for that method's object and releases it when the method returns but what happens when a static synchronized method is invoked because  a static method is associated with a class  not an object?</p>
