Poly Morph vs Inheritance

0 Earl Hudson · October 6, 2015
Okay, So let me see if I have this right.
 
Basically, Inheritance is where you can have all the derived classes use the function from the base class.  Or, one function many calls.

Poly Morph is when each derived class can have it's own custom function, and share the same name with the function of the base class and can be called from one location. Or One call many functions.

Thinking that I have the basic jist down, I want to know are there any other major differences?


Post a Reply

Replies

Oldest  Newest  Rating
0 ariel bitan · October 7, 2015
basically youre right
  • 1

C++

106,942 followers
About

Used in many types of software including music players, video games, and many large scale applications.

Links
Moderators
Bucky Roberts Administrator