Proto Inheritance

Multiple Protoing

Multiple objects can also proto from one object (see FIGURE 4.4). Each separate object inherits all of the proto's slots, can contain its own unique slots, or can individually override slots from its proto.

.

FIGURE 4.4 : Three objects protoing (inheriting) from the same object.


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996