Method Call Example
- harrysChecking.deposit(500);
- Set the parameter variable amount to 500
- Fetch the balance field of the object whose
location is stored in harrysChecking
- Add the value of amount to balance and store the
result in the variable newBalance
- Store the value of newBalance in the balance
instance field, overwriting the old value