Information générale
Catégorie:
Programmation orienté objet
Versions des environnements
Network:
Windows 2003 Server
>>Because polymorphism is not the same thing as multiple inheritance.
>
>It would fall into composition. Having said that, as mentioned in the other message, it would still be interesting to get the terminology for multiple inheritance. I still have this image in my mind. When I took that course, there was a slide with all the terminology being related to OOP. I am pretty sure those where single word only. Next to them, in the following slide, we were able to get more info such as the generic overview of what that single OOP word means.
The way I learned it is that multiple inheritance is evil and composition is the way to go. FWIW.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement