General information
Category:
Object Oriented Programming
>Naomi,
>
>I've made it through the problem we've been discussing. Now I am encountering another problem.
>
>As I've said before I two classes that are based off of a single class. This abstract class has a single property and a few methods. Now if I understand how this is supposed to work the two subclasses should inherit the property and have access to the methods from the parent. Does each subclass have its own "copy" of the property or do they access the single property from the parent class?
I think you're getting confused over classes vs. instances. The class is the model; it tells CreateObject/NewObject what to do when creating an instance. But the class itself and any parent classes don't exist as objects at runtime. Only the instances you create exist.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only