Instructors' Guide


Introduction Terminology Expressions Control Objects Inheritance Technology Summary

Inheritance

Each class in the Smalltalk library is (ultimately) a subclass of the class Object. See slide sm-inheritance.

Inheritance

    Object
      Magnitude
         ArithmeticValue
            Number
               Integer
  

slide: Smalltalk -- inheritance

Smalltalk supports only single inheritance. Above, the ancestor classes of the class Integer are depicted as a branch of the inheritance tree.