In Java, what are this() and super(), and where are you required to use them?
Answer Posted / 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 |
Post New Answer View All Answers
What is the meaning of 3 dots in java?
How many classes can any class inherit java?
What are variable names?
What is the finalize method do?
What is java lang object?
What is the abstraction?
What is slash r?
Write a program to find maximum and minimum number in array?
What is pojo class in java?
What is the base class for error and exception?
What does a method signature consist of?
What is constant in programming?
What is an infinite loop in java? Explain with an example.
Can you instantiate the math class in Java?
What are internal variables?