What does this() represent, and how is it used in Java?
Answer Posted / hr@tgksolutions.com
The current instance of a class is represented by this().
• Previously used to: o Call the same class's default constructor
Access the current class's methods
o Indicate the instance of the current class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain heap sort?
What is close method? How it's different from Finalize & Dispose?
what is anonymous class in java?
What is a generic data type?
What is string length in java?
Is break statement can be used as labels in java?
What is anti pattern in java?
What do you mean by jjs in java8?
What is thread synchronization in java?
What is the Scope of Static Variable?
What is an argument java?
What are 3 boolean operators?
What is final variable?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What is a protected class in java?