What does super()represent, and how is it used in Java?
Answer Posted / 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 |
Post New Answer View All Answers
Are true and false keywords?
Explain the importance of finalize() method.
Explain aggregation in java?
What are passing parameters?
What is a boolean in java?
Which types of exceptions are caught at compile time?
What are internal and external variables?
What is the difference between post and put?
How strings are created in java?
Why is java called java?
What is the difference between object oriented programming language and object based programming language?
Can we pass null as argument in java?
how we can make a read-only class in java?
What is serialization in java?
What is set and get methods in java?