0
What is the difference between inheritance and polymorphism?
2 Answers
0
inheritance means a class can have a base class and all of its properties and have the power to override them, and polymprphism was used to change the base class properties or functions to act as the deriven class
0
In basic human language, inheritance means transferring some block of information to another while polymorphism means declaring two different block of code but give them same name.