Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Correlations among VFP and OOP languages
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Correlations among VFP and OOP languages
Miscellaneous
Thread ID:
01128092
Message ID:
01128092
Views:
70
Hi.

How can I implement in VFP a interface and a abstract class ?
I need to code in VFP something like that in JAVA (o C#):
interface
public interface MyInterface
   {
   // just the signature, no body, implied instance and public.
   int aMethod();
    // ...
   }
and a abstract class
abstract class GraphicObject {
    int x, y;
    ...
    void moveTo(int newX, int newY) {
        ...
    }
    abstract void draw();
}
T.I.A.
Next
Reply
Map
View

Click here to load this message in the networking platform