11 Object-Oriented Programming: Inheritance

Objectives

In this chapter you’ll:

  • Learn what inheritance is.

  • Understand the notions of base classes and derived classes and the relationships between them.

  • Use the protected member access specifier.

  • Use constructors and destructors in inheritance hierarchies.

  • Understand the order in which constructors and destructors are called in inheritance hierarchies.

  • Understand the differences between public, protected and private inheritance.

  • Use inheritance to customize existing software.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset