Superclass mechanisms are used in true object oriented systems to provide a means of generalizing object descriptions and capturing common behaviors into a shared parent class.
A superclass of an object may also have a superclass of its own. Eventually, by walking up the class hierarchy, you should arrive at the topmost class. That is probably the Object class but it can be implementation dependent.
| See also: | Anchor object, Subclasses |
| Prev | Home | Next |
| super | Up | switch( ... ) ... case: ... default: ... |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. | ||