super() will be automatically inserted of this(…) or super(…) is not specified. If the super class does not include a no-arg constructor or it is not accessible, then it won’t compile. In that case it is necessary to put super(…) and specify the constructor .