Maam what is the concept of inheritance in object oriented programming ?
Inheritance in OOP (Object oriented programming ) is where more than one Class is involved. A parent class and one or more Sub or Child Classes. Parent class passes on its properties to the sub groups.
For example.
If Vehicle is a Parent class, Car, Bike etc are child classes.
