previous | start | next

Self Check

  1. If a is a variable of type BankAccount that holds a non-null reference, what do you know about the object to which a refers?
  2. If a refers to a checking account, what is the effect of calling a.transfer(1000, a)?

previous | start | next