First page Back Continue Last page Overview Graphics


Notes:

Given the lookup process I've described, there's three interesting cases.

For classes, the superclass of the singleton class is the singleton class of the superclass.

Unless the current class is subclassed directly from Object, in which case the superclass of the singleton class is the class Class.

For other objects, the superclass of the singleton class is just the class of the object.