A general class is created with attributes. Another class can inherit those attributes using concept -
The class that inherits is called subclass and the class that is inherited is called superclass.
A subclass can’t inherit a private object of it’s superclass.
Reference between SuperClass and SubClass Objects
Using super to call Superclass constructors
Multilevel heirachies & Order of Derivation
Subclass methods always overrides the superclass’s methods.
It only occurs if name and type (parameter’s given) is identical else the method is