What does super()represent, and how is it used in Java?
Answer Posted / 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 |
Post New Answer View All Answers
how do I create a runnable with inheritance? : Java thread
What is a class reference?
What is a double vs float?
Can an interface implement another interface?
What is string and its types?
Explain when we should make an instance variable private.
How can constructor chaining be done using this keyword?
Write a program to find the whether a number is an Armstrong number or not?
What is connection class in java?
What is the difference between variable declaration and variable initialization?
Is 9 a prime number?
When will we use them?
What is a top level class in java?
What is annotation in java?
What is difference between iterator and enumeration in java?