What is the meaning of “this” in Java?

Normally, I use this in constructors only.

I understand that it is used to identify the parameter variable (by using this.something), if it have a same name with a global variable.

However, I don’t know that what the real meaning of this is in Java and what will happen if I use this without dot (.).

Leave a Comment