Initial
The this keyword refers to the current object.
It is used inside class methods.
Depth
It differentiates instance variables from local variables.
It can call current class methods and constructors.
More Depth
Commonly used when variable names are the same as parameters.
Final
The this keyword represents the current class object
Top comments (0)