Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
JVP's mid-tier inheritance challenge
Message
From
31/01/2000 14:38:14
 
 
To
31/01/2000 11:16:12
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00324138
Message ID:
00325217
Views:
20
>>Basically yes. However, I wouldn't put any code in the abstract class. If I'd do that, I wouldn't call it an abstract class. < s >
>>
>
>Why... wouldn't you also abstract the common functionality also? For example, you may have an abstract class called People from which you create concretes of Employees, Customers, Contacts... Couldn't they all need a method like Shave() which you could implment in the Abstract?
>

Yeah, but Shave() means two very different things for different classes of people (male, female), so you couldn't really inherit functionality... :-)
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform