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 |
What are bind parameters?
What does this () mean in java?
Can java run on google chrome?
How to count occurrences of each duplicate element in a list {a,b,d,c,a,b} ? Thanks in Advance
What is the format specifier?
What is struts in java?
What are different types of Exceptions?.
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
what is the Diff. between Access Specifiers and Access Modifiers?
39 Answers BMC, Cyber Shot, Infosys, VTS, Wipro,
explain the difference between jdk and jvm?
What is the difference between equals() and == in java?
Can an abstract class have a constructor?