You are on page 1of 1

this

this is a special keyword in Java.


What it really refers to is the instance that was created when the object was instantiated.
So this is a special reference name for the object or instance, which it can use to describe
itself.
And we can use this to access fields on the class.

COMPLETE JAVA MASTERCLASS


Kotlin Variables and Datatypes

You might also like