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 6545133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:32:58+00:00 2026-05-25T11:32:58+00:00

I am still trying to learn java, so correct me if I’m wrong. As

  • 0

I am still trying to learn java, so correct me if I’m wrong.
As I understand it, the super keyword calls the constructor of a class. So I do not understand what the significance of saying

super.paint(g)

does for example, or more recently while reading about animation I came across

super.addNotify()

I tried looking up documentation on the two (perhaps poorly) and it didn’t satisfy my curiosity adequately, so here we are.

Any clarification on those two example or in general would be appreciated. Thanks!

  • 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-25T11:32:59+00:00Added an answer on May 25, 2026 at 11:32 am

    super is a keyword that is a reference to the superclass of the class from which you are using the keyword.

    So super() calls the constructor of the superclass, super(x) calls a parameterised constructor, and super.paint(g) calls the paint() method of the superclass.

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

Sidebar

Related Questions

I am trying to learn Java generics. I am not clear when you will
I am not a css expert but still trying to learn the best way...
still trying to find where i would use the yield keyword in a real
I'm still trying to get my head around using Java's generics. I have no
I am still new to Java and Eclipse and I'm trying to get my
Still trying to learn the basics of MVC. I'm making use of Zend_Loader for
I am trying to learn about combinators and I am having trouble understand the
I'm a newcomer to JSF and am still trying to follow examples to learn
Still trying to learn the basic of jquery so in the weekend I started
I'm still trying to learn SQL as of this writing, so I'm a bit

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.