To explicitly call the superclass constructor from the subclass constructor, we use super() . It’s a special form of the super keyword. super() can be used only inside the subclass constructor and must be the first statement .
To explicitly call the superclass constructor from the subclass constructor, we use super() . It’s a special form of the super keyword. super() can be used only inside the subclass constructor and must be the first statement .