In Java, what are this() and super(), and where are you required to use them?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Super() and this() are special keywords in Java that are used to invoke the constructor. This() and super() must appear as the block's initial line.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
Super() and this() are special keywords in Java that are used to invoke the constructor. This() and super() must appear as the block's initial line.
| Is This Answer Correct ? | 0 Yes | 0 No |
Difference between abstract and concrete class ?
What is jvm? How its run?
How are Java source code files named?
Why we use methods in java?
How to print an arraylist in java?
What is difference between static and abstract class?
What is a native method?
what is the need of the Ajax?
What does += mean coding?
What does math floor () do?
What is final method in java?
what is singleton in java?