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 |
What is int argc char * argv?
Why we should declare the variables as static and final in interfaces?
How do weakhashmap works?
Difference between overloading and overridding?
How many types of operators are there?
What do you know about java?
Explain the difference between scrollbar and scrollpane?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
How do I remove a character from a string in java?
Why local variables are stored in stack?
write a program that list all permutations of ABCDEF in which A appears before B?
How do you calculate square roots?