OOPs! Object is the foundation of a Relation

From: James <jraustin1_at_hotmail.com>
Date: 13 Jun 2002 17:08:32 -0700
Message-ID: <a6e74506.0206131608.3cdd24cf_at_posting.google.com>



An object represents a thing:

   the concept of a Marble, Marble1, Marble2, etc. An object (Marble) creates instances (M1, M2)

   via its instantiate function.
An instance (M1) is an object that has a class (Marble)

   which it determines via its classify function. A class (Marble) is an object that has an instance (M1).

An object's definition is orthogonal because the thing it represents is orthogonal. This orthogonality becomes apparent after object M1 creates instances (M1a, M1b). Object M1 is now both an instance of Marble and the class of M1a, M1b.

Objects and their classify function can also be described by the mathematical concept of a relation. Let Domain = {M1, M2}
Let Range = {Marble}
The relation between Domain and Range is defined by the function object.Classify() or in oo-terminology,
the class of any object in the Domain is Marble.

An object inherits the non-overridden properties and functions of its ancestor classes. An object can override/add properties and functions.

(www.xdb1.com/Obj.asp) Received on Fri Jun 14 2002 - 02:08:32 CEST

Original text of this message