Saturday, August 2, 2014

Inheritance vs. polymorphism

Hello, Polymorphism is linked to inheritance architecture. Inheritance is the structure of your code and polymorphisme is a way to use this structure. You could have a class in your code without inheritance but if you want to use polymorphism, , you need to have the right architecture of inheritance in your class. Probable you already know this link but it´s a good example. http://ift.tt/1xOwr2A Regards Cédric

No comments:

Post a Comment