locking objects synchronized objects

Multiple Locks Using Synchronized Code Blocks -- locking objects
synchronized objects