About the solution of the Question2) Exercise4.2.1

The answer of the exercise4.2.1 question is like the following,
2) Data members: height member function: run(),walk(),sleep(),wake()

I would like to think that the member: height, sleep(), wake() is just correct because GrandDad is private for Father.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.