0
665views
Inheritance vs Polymorphism.

Differentiate between Inheritance and Polymorphism.

1 Answer
5
9views
BASIS FOR COMPARISON INHERITANCE POLYMORPHISM
BASIC Inheritance is creating a new
class using the properties of 
the already existing class.
Polymorphism is basically
a common interface
for multiple form.
IMPLEMENTATION It is implemented on classes. It is basically implemented
on functions/methods.
USE To support the concept of
reusability in OOP …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.