This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
When a thread enters a synchronized method it acquires the lock; exiting the method releases it, even on exception.
You've completed the free preview. Subscribe to unlock every lesson in every course.