Title: (Optional) Create synchronized methods.
Course: Java Programming (Oracle) (10055) > Section: Understanding Multithreaded Programming Support

Creation of a synchronized method should include the modifier synchronized (synchronized (obj) { statements }, which

- obtains the lock on obj before executing statements in block
- releases the lock when the statements block completes.