Subclasses of Magnitude in Little Smalltalk

Here is an example that we will use in the next slide. This inheritance hierarchy is taken from Little Smalltalk, a dialect of Smalltalk. The class Magnitude represents things that have measure, that can be compared. Subclasses include characters, numbers, collections, and two-dimensional points.

[audio] [real] Text to accompany slide11, in Chapter 14 of An Introduction to Object-Oriented Programming