Answer:
An alias has been detected! 123 Bob 0 123 Bob 0
The single object referred to by the aliases
account1 and by account3
was changed by the method call account3.processCheck( 85 ).
End of the Chapter
That about wraps it up for this chapter. For the balance of your time, you may wish to check the following topics.
- Requirements for the CheckingAccount class
- Design for the CheckingAccount class
- Implementation of the constructor of the class.
- Syntax of method definition.
- Completed Class Definition.
- Scaffolding.
- Aliasing.