Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Correlations among VFP and OOP languages
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Correlations among VFP and OOP languages
Divers
Thread ID:
01128092
Message ID:
01128092
Vues:
73
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform