Computer Science, asked by jainhgmailcom6105, 1 year ago

Difference between inheritance and polymorphism in c++

Answers

Answered by SKSWAGBOSS
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