A Final Word
String objects. We then explained you how to use object extension in order to differentiate between instances of the same class, practically giving you two types of objects that inherit their essence from a base class. Finally, we described a true inheritance mechanism, implemented by extending two different objects with a common third one. We used our animation scripts from Column 19 to demonstrate the inheritance concept.
In this column you have learned:
- How to extend a class of objects.
- How to extend a particular instance of an object.
- How to inherit a common object.
Produced by Yehuda Shiran and Tomer Shiran
Created: January 18, 1999
Revised: January 18, 1999