What does super()represent, and how is it used in Java?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• super() denotes a parent or base class's current instance.
• Used to: o Call the parent/base class's default constructor
Access the base class's methods
The superclass instance is indicated.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• super() denotes a parent or base class's current instance.
• Used to: o Call the parent/base class's default constructor
Access the base class's methods
The superclass instance is indicated.
| Is This Answer Correct ? | 0 Yes | 0 No |
who was the founder of java
32 Answers CTS, HCL, ProKarma,
What is the main advantage of passing argument by reference?
Can we define private and protected modifiers for the members in interfaces?
When can we say that threads are not lightweight process in java?
What are the 4 versions of java?
What are anonymous inner classes?
What is float in java?
Can extern variables be initialized?
What is the do while loop syntax?
Is arraylist ordered?
What is java life cycle?
Can you explain the private protected field modifier?