Abstract Classes and Inheritance

Hi,

I have an abstract superclass named SalesStaff. This class defines an abstract operation called getEarnings. I have it marked as abstract in the class diagram. There are two subclasses – Hourly and Commissioned. Both of them inherit the getEarnings method. However, in the subclasses, I do not want them to be abstract. However, when I uncheck the Abstract checkbox, this action moves up the hierarchy to the superclass and now makes the operation in the superclass not abstract.

How can I specify an operation to be abstract in the superclass but not abstract in a subclass?

Thanks … bill burrows

Dear bill,
I will look at this problem and come back to you as soon as possible.

Best Regards,
Angus
Technical Support Team
Visual Paradigm