A correct example of multiple inheritance

  • Authors:
  • Mikael Eriksson

  • Affiliations:
  • Div. of Computer Science, University of Luleå, S-951 63 LULEÂ, SWEDEN

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1990

Quantified Score

Hi-index 0.01

Visualization

Abstract

In [1] Wiener and Pinson gives an example of using multiple inheritance in C++. The example consists of three classes. The two classes Array and Integer are combined by multiple inheritance to form the class IntegerArray. In [1] it is claimed that this is an useful way of applying multiple inheritance.This article will discuss the meaning and use of inheritance and examine that proposition in the light of the discussion. Another example of multiple inheritance is given at the end of the article.