Difference between inheritance and polymorphism in c++
Answers
Answered by
1
Answer:
Inheritance is creating a class that derives its feature from an already existing class. On the other hand, polymorphism is an interface that can be defined in multiple forms. Inheritance is implemented on the classes whereas, the polymorphism is implemented on methods/functions.
Similar questions