Inheritance is the process of creating new classes from the already existing classes. A coder can create a new class from one or more than one existing class taking some of their capabilities or combining all their capabilities. The already existing classes known as the parent class or the superclass and the class that is created from those parent class i.e., the new class is known as the child class or subclass. The subclass can have its own attributes and characteristics too they are not totally inherited from other classes.

BY Best Interview Question ON 25 Oct 2019