Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

29. What is the purpose of ‘super’ keyword in java? #1

Open
zubairbasha opened this issue Jun 13, 2023 · 0 comments
Open

29. What is the purpose of ‘super’ keyword in java? #1

zubairbasha opened this issue Jun 13, 2023 · 0 comments

Comments

@zubairbasha
Copy link

super keyword is used specifically in Java constructors and refers to the immediate parent class. It is used to invoke a constructor of the parent class from the subclass constructor. We cannot use the Super Keyword in the Method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant