c++ programming language.
Simple program/example of hierarchical inheritance?
- Posted:
- 3+ months ago by md_sonu
- Topics:
- language, programming, languages
Details:
Answers (1)
This is a good example:
http://www.hscripts.com/tutorials/cpp/hierarchical-inheritance.php
Two classes are derived from one other class and inherit from that class. The derived classes could themselves have derived classes and inheritance flows from grandparent to derived parent to derived child.