posted 16 years ago
polymorphism is built off the relationship between classes, or inheritance. when you are using a class attribute, name in this case the subclass has to pass its name attribute to the super class, otherwise the class attribute will always be that of the class.
try this:
"If the facts don't fit the theory, get new facts" --Albert Einstein