Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The first line above, adds the borrowFor method to the Person class by delegating to the lender object. The second line adds a getMoney method to the Person class by delegating to the lender object's borrowAmount method.

...