Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is polymorphism?
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00200864
Message ID:
00201062
Views:
15
>What is multiple inheritance?

I'm not sure about that either, but I thought it was the ability to inherit properties from more than one parent class, or something like that. I had the idea that it was something Visual C++ could do, but not VFP. I am not a c programmer.

>
>
>>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform