The keyword you’re looking for is super
. See this guide, for instance.
More Related Contents:
- Can't call method from class 1 in class 2 [closed]
- How do I correctly implement this code segment without getting a logic error? [closed]
- Is List a subclass of List? Why are Java generics not implicitly polymorphic?
- What is the main difference between Inheritance and Polymorphism?
- Overriding vs Hiding Java – Confused
- Is polymorphism possible without inheritance?
- Superclass reference not able to call subclass method in Java
- Hiding Fields in Java Inheritance
- Compiler error : reference to call ambiguous
- Java Inheritance – calling superclass method
- Java: How to find if a method is overridden from base class? [duplicate]
- How do I put a method as a parameter in a method call? [duplicate]
- Java while loop query [closed]
- JAVA- JFrame- non static method cannot be referenced from a static context [duplicate]
- Are static methods inherited in Java?
- JSP tricks to make templating easier?
- Java Constructor Inheritance
- How to call the overridden method of a superclass?
- Default constructors and inheritance in Java
- Is calling static methods via an object “bad form”? Why?
- Can a private method in super class be overridden in the sub-class?
- Private members in Java inheritance
- using a variable in constructor in a method outside of constructor
- Access subclass fields from a base class in Java
- Why do we have to call super in Android sometimes?
- How do Java programs run without defining the main method?
- Can there exist two main methods in a Java program?
- Abstract methods in Java
- What are the negative aspects of Java class Stack inheriting from Vector?
- If a synchronized method calls another non-synchronized method, is there a lock on the non-synchronized method