Hi Guyz!
introduction:
Probably most powerful feature of OOP
Concept similar to inheritance in real life
New classes are created from existing classes
New classes absorball features of existing classes including their dataand functions. Also enhancethem by adding their own new features in form of new data members and new member functions.
Has-A relationship is composition type of relationship
like Car has an engine
Is-A relationship: also called association
like Car is vehicle
Inheritance provides us a mechanism of software reusabilitywhich is one of the most important principles of software engineering
All data members and member functions of base class are inherited to derived class.
On this page of the site you can watch the video online How to Learn Inheritance in Programming? | Object Oriented Programming with a duration of hours minute second in good quality, which was uploaded by the user Uzma Nawaz 04 May 2019, share the link with friends and acquaintances, this video has already been watched 133 times on youtube and it was liked by 24 viewers. Enjoy your viewing!