[Next] [Previous] [Up] [Top] [Contents] [Index]
Definitions
Instances
In CLOS, there is a clear distinction between classes and instances. CLOS is not a prototype-based object system.
- An instance is a Common Lisp object, one of a group of zero or more instances of a class. An instance may have a default state derived from the class definition, or may have its own particular state.
- An instance may use a method defined on its class or on one of the class's superclasses, or may have its own method. See the next section for the definition of methods.
- Every Common Lisp object, including class objects, is an instance of some class.
Gettmg Started with MCL - 19 OCT 1996
[Next] [Previous] [Up] [Top] [Contents] [Index]
Generated with Harlequin WebMaker