First page Back Continue Last page Summary Graphics
Inheritance
importing another class (inheriting) implies subtyping (not so with mix-ins which are not types)
- here an object Square can be used as an object Figure
- when calling a method on a object Figure, it can in fact be a Square, a Circle or ...
- 1 the good method to call can only be chosen at runtime (late binding)
Notes: