The super keyword is used for calling the constructor of its parent class and to access its properties and methods. This phenomenon happens in inheritance. It is useful for code reusability.
Its syntax are:-
- super(arguments) i.e,will call parent constructor
- super.parentMethod(arguments) i.e, will call parent methods