Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7535541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T06:19:43+00:00 2026-05-30T06:19:43+00:00

Where the super is actually defined? [When we’re using super.someMethod()]. Is it defined as

  • 0

Where the “super” is actually defined? [When we’re using super.someMethod()]. Is it defined as a field in java.lang.Object class or java.lang.Class class?

When we’re calling from a subclass, super contains the reference to it’s superclass.In the same manner the super in superclass itself has reference to it’s superclass [In this way upto java.lang.Object]. So, how java injects the superclass references to the “super” field which enables us to call superclass methods ?

Is there any under the hood implementaations like the following:

    Class current = this.getClass();
    Class parent = current.getSuperclass();
    System.out.println("name is =" + parent);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T06:19:45+00:00Added an answer on May 30, 2026 at 6:19 am

    super is an object-reference specific keyword that ascends the object hierarchy beginning from the calling object until it finds an ancestor object that has a matching method signature or property/field. Refer to Java documentation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to Java and OOP, I was using a private subclass (actually a
Possible Duplicate: why does initializing subclasses require calling the super class's same init function?
Where is [super init] method actually located and what happens if we negotiate calling
Actually I have two java classes of which one is an activity class. Now
I'm using my new super powers to load an image from the AssetLibrary on
When using Python's super() to do method chaining, you have to explicitly specify your
I have a super pom defined in which I specify a "resources" directory for
I'm using super-simple synchronous C# Sockets for an assignment. The assignment is to create
This might be a super simple bug, but my eyes are practically bleeding from
Actually i want to call a function of one activity from another activity..i write

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.