Using the framework from the previous section it is possible to model classes, to instantiate classes, and to activate methods in the objects.
In this chapter I will extend the simulation of classes
such that the classes can be arranged in hierarchies,
and such that inheritance is supported.
Only single inheritance is described in this chapter.
The single inheritance framework will be generalized to
multiple inheritance in chapter .
In section I describe the basic framework.
In section
I introduce a new representation of objects,
which turns out to be particularly useful when we are going to deal with
multiple
inheritance. Finally, in section
, I change the interpretation
of self
, compared with the interpretation which I first introduce
in section
.