Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
JVP's mid-tier inheritance challenge
Message
 
 
To
31/01/2000 11:34:13
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00324138
Message ID:
00325605
Views:
24
Bob...
<<
The Interface of Person is the methods and properties. So... using VFP lets pretend we only get an Interface inherited when you create a subclass (implment and interface)

Define Class Employee as Person

EndDefine
<<

This is not a good way to illustrate how interfaces are implemented. You can have a situation where you can implement MULTIPLE interfaces. For example, if I have a print class and a entity class, I could create an implementing class that implements both the print and entity interfaces. Using the Define Class metaphor does not address this...
Previous
Reply
Map
View

Click here to load this message in the networking platform