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
What are the three best choices for a development environment?
Can you access the private method from outside the class?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
Which java ide is used the most?
Why is boolean important?
What is the null?
What is the purpose of the file class in java programming?
Why java does not support pointers?
What is string [] args?
What are unchecked exceptions in java?
How can we pass argument to a function by reference instead of pass by value?
What is difference between iterator access and index access?
What is the difference between post and put?
What is the difference between an argument and a parameter?
What do you mean by mnemonics?