hi,
Just putting in some effort to sort things out...Assuming in both part 1 and part 2 we are using synchronized blocks.
In first case Table object is acting as a lock.
In Second case Customer...