0 votes
by (524 points)
'this' keyword in Java

1 Answer

0 votes
by (1.1k points)
This keyword refers to the current object in a method or constructor. The most common use of this keyword is to eliminate the confusion between class attributes and parameters with the same name.
Welcome to CodersEditor Q&A, where you can ask questions and receive answers from other members of the community.
...