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 is :: operator in java 8?
how come we know the object is no more used in the class?
Explain the difference between map and flatmap stream operation?
What is the r character?
Is arraylist dynamic in java?
What is java and why do we need it? Explain
What is the difference between sleep and wait in java?
What is sorting algorithm in java?
What technique can be employed to compare two strings?
Implement two stacks using a single array.
How many bits is a float?
Can we have this () and super () together?
What is entry in java?
What is meant by main method?
I want to re-reach and use an object once it has been garbage collected. How it's possible?