Introduction to OOP: Chapter 12: Implications of Inheritance [next] [previous] [audio] [real] [text]

Minimum Static Space Allocation

The language C++ uses the minimum static space allocation approach.

This is very efficient, but leads to some subtle difficulties.

What happens in the following assignment?

Window x;
TextWindow y;

x = y;
Intro OOP, Chapter 12, Slide 6