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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:20:58+00:00 2026-05-15T06:20:58+00:00

I am making some revisions from the lecture slides and it says a constructor

  • 0

I am making some revisions from the lecture slides and it says a constructor is executed in the following way:

  1. If the constructor starts with this, recursively execute the indicated constructor, then go to step 4.

  2. Invoke the explicitly or implicitly indicated superclass constructor (unless this class is java.lang.Object).

  3. Initialise the fields of the object in the order in which they were declared in this class.

  4. Execute the rest of the body of this constructor.

What I don’t understand is that a constructor can never “start” with this, because even if it forms no class hierarchy/relationship then super() is inserted by default.

How would this fit in with the description above?

  • 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-15T06:20:59+00:00Added an answer on May 15, 2026 at 6:20 am

    A constructor (for every class except java.lang.Object) has to start with either “super()”, to call its superclass’ constructor, or “this()”, to call another constructor of the same class. If you don’t include either of those in your constructor the compiler will insert a call to super(). It’s fine for a constructor to start with a call to another constructor in the same class, as long as eventually a constructor in the class gets called that calls a superclass constructor.

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

Sidebar

Related Questions

I'm making some basic drop down menus based on this tutorial So its all
I'm making some fairly basic shapes in OpenGL-ES based on sample code from Apple.
After making some changes in my models (eg. new field in a model and
While making some final tests of a class-library that I'm writing for Windows Mobile
im making some script with mechanize.browser module. one of problem is all other thing
I'm making some changes to a legacy classic ASP application. I've made the changes
I am programatically making some LinkButtons, and they worked fine for a while, but
I happened to be making some changes to a WordPress blog and noticed that
We're making some calls to some very simple JSON web services in .NET CF
currently im making some crawler script, one of problem is sometimes if i open

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.