🌐
W3Schools
w3schools.com › java › ref_keyword_super.asp
Java super Keyword
To understand the super keyword, you should have a basic understanding of Inheritance and Polymorphism. Read more about inheritance (subclasses and superclasses) in our Java Inheritance Tutorial. Read more about polymorphism in our Java Polymorphism Tutorial. ... If you want to use W3Schools ...
🌐
W3Schools
w3schools.com › java › java_super.asp
Java super
In Java, the super keyword is used to refer to the parent class of a subclass.
🌐
W3Schools Blog
w3schools.blog › home › super keyword in java
super keyword in java - W3schools
August 27, 2014 - * @author W3spoint */ class Display { int num = 100; } class Show extends Display { int num = 200; public void show(){ //sub class instance variable will be referred. System.out.println("num = " + num); } } public class SuperExample6 { public static void main(String args[]){ //create Show class object. Show obj = new Show(); //method call obj.show(); } } ... Download this example. Above problem can be solved with super keyword.
🌐
W3Schools
w3schools.in › java › super-final-keywords
Java super and final keyword - W3Schools
In this chapter, you will learn about how to use super and final within a Java program. Super is a keyword of Java which refers to the immediate parent of a class and is used inside the subclass method definition for calling a method defined in the superclass.
🌐
GeeksforGeeks
geeksforgeeks.org › java › super-keyword
Super Keyword in Java - GeeksforGeeks
The Keyword "super" came into the picture with the concept of Inheritance. In this article, we are going to cover all about super keyword in Java, including definitions, examples, uses, syntax and more.
Published   July 23, 2025
🌐
Programiz
programiz.com › java-programming › super-keyword
Java super Keyword (With Examples)
In this tutorial, we will learn about the super keyword in Java with the help of examples. The Java super keyword is used in subclasses to access superclass members (attributes, constructors and methods).
🌐
Oracle
docs.oracle.com › javase › tutorial › java › IandI › super.html
Using the Keyword super (The Java™ Tutorials > Learning the Java Language > Interfaces and Inheritance)
Printed in Superclass. Printed in Subclass · The following example illustrates how to use the super keyword to invoke a superclass's constructor. Recall from the Bicycle example that MountainBike is a subclass of Bicycle.
🌐
DataCamp
datacamp.com › doc › java › super
super Keyword in Java: Usage & Examples
The super keyword can be used in three primary contexts: To call the superclass constructor. To access a method from the superclass that has been overridden in the subclass. To access a field from the superclass when it is hidden by a field of the same name in the subclass.
🌐
W3Schools Blog
w3schools.blog › home › java super keyword
Java Super keyword - W3schools
August 27, 2014 - super can be used to access immediate superclass instance variables. class Display { Display(){ System.out.println("Super class constructor called."); } } public class SuperExample1 extends Display { SuperExample1(){ //super keyword will call super class constructor.
Find elsewhere
🌐
Javatpoint
javatpoint.com › super-keyword
Super Keyword in Java
Super keyword in java. The java super keyword is used to refer the immediate parent class object. There are three usage of super. Let's see:
🌐
BeginnersBook
beginnersbook.com › 2014 › 07 › super-keyword-in-java-with-example
Super keyword in java with example
For now you just need to remember this: When a child class overrides a method of parent class, then the call to the method from child class object always call the child class version of the method. However by using super keyword like this: super.method_name you can call the method of parent class (the method which is overridden).
🌐
GeeksforGeeks
geeksforgeeks.org › java › super-and-this-keywords-in-java
super and this keywords in Java - GeeksforGeeks
June 10, 2024 - The most common use of super keyword ... name. super can be used in various contexts as given below: it can be used to refer immediate parent class instance variable · it can be used to refer immediate parent class method · it ...
🌐
Tutorialspoint
tutorialspoint.com › java › super_keyword_in_java.htm
Java - super keyword
We are invoking display() method of both classes and printing the value of the variable num of both classes. Here you can observe that we have used super keyword to differentiate the members of superclass from subclass. Copy and paste the program in a file with name Sub_class.java.
🌐
ScholarHat
scholarhat.com › home
Super Keyword in Java: A Beginner's Guide to Using Super in Java
September 3, 2025 - If a method is called without the super keyword, if it isn't overridden in the subclass, it will call the implementation of the parent class. In Java, the super keyword is used to access superclass methods and constructors.
🌐
Scientech Easy
scientecheasy.com › home › blog › super keyword in java
Super Keyword in Java - Scientech Easy
April 25, 2025 - In this tutorial, you have known about super keyword in Java, and its uses with the help of examples. You also learned how to call instance variables, constructors, and methods of superclass using super keyword. I hope that you will have understood the basic syntax and practiced all example programs.
🌐
Medium
medium.com › @AlexanderObregon › how-javas-super-keyword-works-in-method-calls-and-constructors-2365efdc0f80
How Java’s super Keyword Works in Method Calls and Constructors
March 1, 2025 - Learn how Java’s super keyword works in method calls and constructors, how it affects inheritance, and why constructor chaining keeps objects properly initialized.
🌐
Scaler
scaler.com › topics › java › this-and-super-keyword-in-java
This and Super Keyword in Java - Scaler Topics
March 8, 2022 - A: We use the super keyword to refer to the parent class instance, to invoke parent class methods, static and instance variables. The “super()” is used to invoke the immediate parent class constructor. ... A: Java enforces that the call to super (explicit or not) must be the first statement ...