Inheritance
From JholJhapata
Inheritance is a concept in which you define parent classes and child classes.
The child classes inherit methods and properties of the parent class, but at the same time, they can also modify the behavior of the methods if required. The child class can also define methods of its own if required.