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
In java, how many ways you can take input from the console?
What is the vector class in java programming?
Can a list be null in java?
What is hashing principle in java?
Can we compare two strings in java?
What is anti pattern in cyber security?
Write a method to check if input string is palindrome?
What is double checked locking in singleton?
Is java platform independent?
What is io stream in java?
What is the main purpose of java?
When can an object reference be cast to an interface reference in java programming?
What is multi-catch block in java?
What is the dot operator?
Can a final variable be initialized in constructor?