Page 1 of 1
[HD Pg 310, Sec. 9.1.5 - benefits-of-inheritance]
Posted: Fri Jan 04, 2019 6:01 pm
by Username987654
For example, in the class hierarchy consisting of the CurrentAccount, SavingsAccount, and RetirementAccount classes
should be
For example, in the class hierarchy consisting of the Account, SavingsAccount, and RetirementAccount classes
?
Re: [HD Pg 310, Sec. 9.1.5 - benefits-of-inheritance]
Posted: Fri Jan 04, 2019 11:32 pm
by admin
Right. In section 9.1.3, the class hierarchy shows 4 classes - Account, CheckingAccount, SavingsAccount, and RetirementAccount. CurrentAccount should be changed to CheckingAccount and may be Account should be added to the statement.
Added to the errata.
thank you for your feedback!
Paul.
Re: [HD Pg 310, Sec. 9.1.5 - benefits-of-inheritance]
Posted: Sat Jan 05, 2019 1:01 am
by Username987654
Thank you Paul.