previous | start | next

Self Check

  1. If you construct two BankAccount objects, how many lock objects are created?
  2. What happens if we omit the call unlock at the end of the deposit method?

previous | start | next