Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access and Assign vs. OOSE
Message
 
À
28/10/1998 16:43:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00149911
Message ID:
00151953
Vues:
42
>Awww shucks ---
>
>No one got the joke within the joke. It was a Mammal class, not a Horse class. Horse is an instance of mammal. Since there was no subclass of mammal with alternate messaging or behavior for "swim" a horse type instance still tries to swim, yet returns a different message (drowned)

Well, I saw it.:-) That's why I subclassed it. < bg > But, can't horses swim (not on their backs)?
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform