Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is polymorphism?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00200864
Message ID:
00200994
Vues:
25
What is multiple inheritance?


>>>I couldn't remember if it was something that VFP supports.
>>>
>>>I'm interested because I went to the FOSE convention in Washington. At the Corel booth was a guy who told me about Paradox, which he said supported polymorphism but not inheritance. He was not a developer, I think, and may not have been clear about the definitions of those terms.
>>
>>Here you go, from vfp Help: Polymorphism:
>>
>>An object-oriented programming term. The ability to have methods with the same name, but different content, for related classes. The procedure to use is determined at run time by the class of the object. For example, related objects might both have Draw methods. A procedure, passed such an object as a parameter, can call the Draw method without needing to know what type of object the parameter is.
>
>Oh, heh. I guess I didn't think to check the help because I had the idea that polymorphism was multiple inheritance, which vfp doesn't support. That in turn made me think that the Corel employee was mistaken about his terms, which I guess he wasn't.
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform