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 |
Is it safe for adding 10,00,000 records/objects to HashMap?, i.e is it safe to add millions of objects to HashMap?
Can you sort a string in java?
When a byte datatype is used?
How a class can implement an interface?
For which statements we use a label?
java program with complete 4 oops concepts implemented example
What is a package in java? List down various advantages of packages.
How is final different from finally and finalize?
If two threads call a static method at the same point of time, what will happen?
Why Java doesn’t support multiple inheritance?
What is super?
What is procedure writing?