First page Back Continue Last page Overview Graphics
The Bank Account example
Shared behavior and data between Savings and Checking
- Data
- current balance
- name of account holder
- Behavior (method names and implementation)
- accessors for common data
- deposit
- Behavior (method names without behavior)
Notes: