Science, asked by abhimanyukumar9235, 1 year ago

Difference between inheritance and polymorphism in oops

Answers

Answered by shilpisingh
4
The main difference is polymorphism is a specific result of inheritance. Polymorphism is where the method to be invoked is determined at runtime based on the type of the object. This is a situation that results when you have one class inheriting from another and overriding a particular method...
Answered by sahasanjana007
1

Answer:

Explanation:

The main difference is polymorphism is a specific result of inheritance. Polymorphism is where the method to be invoked is determined at runtime based on the type of the object. This is a situation that results when you have one class inheriting from another and overriding a particular method.

Similar questions