Advertisement

Inheritance for Classes

  • Dietrich W. R. Paulus
  • Joachim Hornegger
Part of the Vieweg Advanced Studies in Computer Science book series (VASCS)

Abstract

As already explained in Chapter 9, object—oriented programming is mainly characterized by encapsulation, dynamic binding, and inheritance. The classes introduced in Chapter 11 showed implementations of ADT’s and serve for the realization of encapsulation. In this chapter we give a detailed description of the fundamental and powerful principles of inheritance and their implementation in C++. We introduce the concepts for both simple and multiple inheritance. With the use of inheritance, the real world dependency structure of objects can be mapped into a C++ class hierarchy in a natural manner.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer Fachmedien Wiesbaden 1997

Authors and Affiliations

  • Dietrich W. R. Paulus
    • 1
  • Joachim Hornegger
    • 1
  1. 1.ErlangenGermany

Personalised recommendations