🌐
W3Schools
w3schools.com › java › ref_keyword_super.asp
Java super Keyword
The super keyword refers to superclass (parent) objects.
🌐
Javatpoint
javatpoint.com › super-keyword
super keyword - javatpoint
March 6, 2015 - 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:
Discussions

super() in Java - Stack Overflow
In general, the super keyword can be used to call overridden methods, access hidden fields or invoke a superclass's constructor. More on stackoverflow.com
🌐 stackoverflow.com
Difference between this() and super() keyword?

https://www.geeksforgeeks.org/difference-super-java/

More on reddit.com
🌐 r/CodingHelp
1
1
February 12, 2023
I made it super easy to find keyword ideas automatically.

Interested in selling this side project?

More on reddit.com
🌐 r/SideProject
1
1
June 26, 2023
Keywords assistance

Auto means the ability automatically triggers when it's condition is met. Super Combo means you can only put 4 cards with super combo total in your deck.

If you want to learn some basics about how the game works check out the videos on this page: http://www.dbs-cardgame.com/us-en/rule/

There's also an app that let's you play the starter decks so you can get a feel for the game: http://www.dbs-cardgame.com/us-en/application/tutorial-app.php

More on reddit.com
🌐 r/DBS_CardGame
4
5
October 9, 2018
People also ask

What is super () and super keyword in Java?
Super() is a Java keyword used to call a superclass constructor. Super accesses superclass members and maintains inheritance hierarchies.
🌐
simplilearn.com
simplilearn.com › home › resources › software development › super keyword in java: an ultimate guide
Super Keyword in Java: An Ultimate Guide
What is the use of the super keyword in variables?
The super keyword in variables distinguishes superclass and subclass variables when they share the same name.
🌐
simplilearn.com
simplilearn.com › home › resources › software development › super keyword in java: an ultimate guide
Super Keyword in Java: An Ultimate Guide
Mention any three usages of the Java super keyword.
Access superclass members: It allows a subclass to use variables and methods from its parent class. Call superclass constructors: It invokes constructors in the parent class, ensuring proper initialization. Maintain inheritance relationships: Helps build a hierarchy of classes where subclasses inherit features from superclasses.
🌐
simplilearn.com
simplilearn.com › home › resources › software development › super keyword in java: an ultimate guide
Super Keyword in Java: An Ultimate Guide
🌐
GeeksforGeeks
geeksforgeeks.org › java › super-keyword
Super Keyword in Java - GeeksforGeeks
Subclasses can override methods and can access fields and methods from their parent class with the help of super keyword, because of this the code becomes more flexible. With the help of super keyword we can easily access the methods and fields from the parent class without recreating it in the subclass.
Published   July 23, 2025
🌐
Oracle
docs.oracle.com › javase › tutorial › java › IandI › super.html
Using the Keyword super (The Java™ Tutorials > Learning the Java Language > Interfaces and Inheritance)
If your method overrides one of its superclass's methods, you can invoke the overridden method through the use of the keyword super. You can also use super to refer to a hidden field (although hiding fields is discouraged).
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Operators › super
super - JavaScript | MDN
July 8, 2025 - The super keyword is used to access properties on an object literal or class's [[Prototype]], or invoke a superclass's constructor.
🌐
Programiz
programiz.com › java-programming › super-keyword
Java super Keyword (With Examples)
The superclass and subclass can have attributes with the same name. We use the super keyword to access the attribute of the superclass.
🌐
Simplilearn
simplilearn.com › home › resources › software development › super keyword in java: an ultimate guide
Super Keyword in Java: An Ultimate Guide
July 31, 2025 - Master Java inheritance with 'super' keyword! Unleash its power to refine object-oriented code & build robust applications. Read to know more!
Address   5851 Legacy Circle, 6th Floor, Plano, TX 75024 United States
Find elsewhere
🌐
HubSpot
blog.hubspot.com › website › super-keyword-java
Super Keywords in Java: Everything You Need to Know
June 19, 2023 - Learn how to check your Java version on both Windows and Mac operating systems.
🌐
Runestone Academy
runestone.academy › ns › books › published › csawesome › Unit9-Inheritance › topic-9-4-super.html
9.4. super Keyword — CSAwesome v1
The superclass method can be called in a subclass by using the keyword super with the method name and passing appropriate parameters.
Top answer
1 of 16
284

super() calls the parent constructor with no arguments.

It can be used also with arguments. I.e. super(argument1) and it will call the constructor that accepts 1 parameter of the type of argument1 (if exists).

Also it can be used to call methods from the parent. I.e. super.aMethod()

More info and tutorial here

2 of 16
164

Some facts:

  1. super() is used to call the immediate parent.
  2. super() can be used with instance members, i.e., instance variables and instance methods.
  3. super() can be used within a constructor to call the constructor of the parent class.

OK, now let’s practically implement these points of super().

Check out the difference between program 1 and 2. Here, program 2 proofs our first statement of super() in Java.

Program 1

class Base
{
    int a = 100;
}

class Sup1 extends Base
{
    int a = 200;
    void Show()
    {
        System.out.println(a);
        System.out.println(a);
    }
    public static void main(String[] args)
    {
        new Sup1().Show();
    }
}

Output:

200
200

Now check out program 2 and try to figure out the main difference.

Program 2

class Base
{
    int a = 100;
}

class Sup2 extends Base
{
    int a = 200;
    void Show()
    {
        System.out.println(super.a);
        System.out.println(a);
    }
    public static void main(String[] args)
    {
        new Sup2().Show();
    }
}

Output:

100
200

In program 1, the output was only of the derived class. It couldn't print the variable of neither the base class nor the parent class. But in program 2, we used super() with variable a while printing its output, and instead of printing the value of variable a of the derived class, it printed the value of variable a of the base class. So it proves that super() is used to call the immediate parent.

OK, now check out the difference between program 3 and program 4.

Program 3

class Base
{
    int a = 100;
    void Show()
    {
        System.out.println(a);
    }
}

class Sup3 extends Base
{
    int a = 200;
    void Show()
    {
        System.out.println(a);
    }
    public static void Main(String[] args)
    {
        new Sup3().Show();
    }
}

Output:

200

Here the output is 200. When we called Show(), the Show() function of the derived class was called. But what should we do if we want to call the Show() function of the parent class? Check out program 4 for the solution.

Program 4

class Base
{
    int a = 100;
    void Show()
    {
        System.out.println(a);
    }
}

class Sup4 extends Base
{
    int a = 200;
    void Show()
    {
        super.Show();
        System.out.println(a);
    }
    public static void Main(String[] args)
    {
        new Sup4().Show();
    }
}

Output:

100
200

Here we are getting two outputs, 100 and 200. When the Show() function of the derived class is invoked, it first calls the Show() function of the parent class, because inside the Show() function of the derived class, we called the Show() function of the parent class by putting the super keyword before the function name.

🌐
BeginnersBook
beginnersbook.com › 2014 › 07 › super-keyword-in-java-with-example
Super keyword in java with example
September 11, 2022 - The super keyword refers to the objects of immediate parent class.
🌐
GeeksforGeeks
geeksforgeeks.org › java › difference-between-super-and-super-in-java-with-examples
Difference between super and super() in Java with Examples - GeeksforGeeks
July 12, 2025 - The super keyword in java is a reference variable that is used to refer parent class objects. The keyword “super” came into the picture with the concept of Inheritance. Basically this form of super is used to initialize superclass variables ...
🌐
RubyGuides
rubyguides.com › home › how to use the ruby super keyword
How to Use The Ruby Super Keyword - RubyGuides
October 27, 2018 - What does the super keyword do in Ruby? It calls a method on the parent class with the same name as the method that calls super. For example: If you call a method named i_like_chocolate, and then you call super within that method, Ruby will ...
🌐
Educative
educative.io › edpresso › what-is-the-super-keyword-in-java
What is the super keyword in Java?
May 31, 2019 - This is where super comes into play. The super keyword in Java acts like a reference variable to the parent class.
🌐
Wikibooks
en.wikibooks.org › wiki › Java_Programming › Keywords › super
Java Programming/Keywords/super - Wikibooks, open books for an open world
It is used inside a sub-class method definition to call a method defined in the super class. Private methods of the super-class cannot be called. Only public and protected methods can be called by the super keyword.
🌐
TutorialsPoint
tutorialspoint.com › super-keyword-in-Java
super keyword in Java
June 17, 2020 - In the given program, you have two classes namely Sub_class and Super_class, both have a method named display() with different implementations, and a variable named num with different values. 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.
🌐
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 - The super keyword is what keeps inheritance working smoothly in Java. When calling a method, it makes sure the parent class version runs instead of the overridden one in the subclass.