[HD Pg 310, Sec. 9.1.5 - benefits-of-inheritance]

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
Username987654
Posts: 95
Joined: Sat Dec 26, 2015 6:37 pm
Contact:

[HD Pg 310, Sec. 9.1.5 - benefits-of-inheritance]

Post 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
?

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: [HD Pg 310, Sec. 9.1.5 - benefits-of-inheritance]

Post 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.
If you like our products and services, please help us by posting your review here.

Username987654
Posts: 95
Joined: Sat Dec 26, 2015 6:37 pm
Contact:

Re: [HD Pg 310, Sec. 9.1.5 - benefits-of-inheritance]

Post by Username987654 »

Thank you Paul.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 20 guests