Class Definition Java Tutorial

You can explicitly call the parent's constructor from a subclass's constructor by using the super keyword.
'super' must be the first statement in the constructor.

class Parent {
       public Parent(){
       
       }
     }
     public class Child extends Parent {
         public Child () {
           super();
         }
     }