Java, Programming Languages, Programming, Inheritance, Computer Science.
super.printValues(); } } When using the super keyword to call a constructor of the superclass, it must be placed as the first statement in the constructor. This rule is the same as with the this keyword. In the subclass, we can override the superclass method printValues. You can read more about