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 |
Why hashset is used in java?
Explain different ways of passing arguments to sub-routine?
What is java and their uses?
What is scope of a variable?
How much is a java license?
Where pragma is used?
What is map and hashmap in java?
What is race condition ?? (Threading concept) TCS 2 sept10
what is the difference between AWT and SWING what is the advantage of using swing?
What is fail fast in java?
why constructor dont have returns type?
What is the difference between final, finally and finalize() in java?