Implement Base Classes. Implement Derived Classes. Initialize Base Classes from Derived Classes. Learn How to Call Base Class Members. Learn How to Hide Base Class Members.
Inheritance is one of the primary concepts of object-oriented programming.
It allows you to reuse existing code. Through effective employment of reuse, you can save time in your programming. I'm a Parent Class. Listing 8-1 shows two classes. The top class is named ParentClass and the main class is called ChildClass.