Where we can use this keyword in Java?

this is a keyword in Java. It can be used inside the method or constructor of a class. It(this) works as a reference to the current object, whose method or constructor is being invoked. This keyword can be used to refer to any member of the current object from within an instance method or a constructor.

For More Information Please Refer: https://javabeginnerstutorial.com/core-java-tutorial/this-keyword-java/