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
What is a java developer salary?
Define reflection.
What is a method declaration?
Explain the difference between map and flatmap stream operation?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
How to implement an arraylist in java?
What is thread safe java?
What is default exception handling in java?
According to java operator precedence, which operator is considered to be with highest precedence?
Is null in java?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
What is floating data type?
what is meant by abstract class?
How do you detect memory leaks?
What is sortedset in java?