Should I use “this” keyword when I want to refer to instance variables within a method?

No, only use this when you have a name conflict such as when a method parameter has the same name as an instance field that it is setting.

It can be used at other times, but many of us feel that it simply adds unnecessary verbiage to the code.

Leave a Comment