Normally, any property values defined during the lifetime of an instance are lost when the object is destroyed. Within MUDzilla, certain property values are stored within the fields of database tables such that their property values are preserved between instances of the object, and are called persistent properties.
It should be noted that an object's method code is loaded into memory only if no other object of the same class is currently present in memory. When an object's methods are initialized during construction, pointers to this code are recorded within the instance. When the last object of a given class is destroyed, the method code for that object is then removed from memory.
Please e-mail us your comments and inquiries.
© 1994-2002 Myne Corporation