2
Reply

What is meaning of this keyword?

Daljeet Singh

Daljeet Singh

12y
1.2k
0
Reply

    It refers to the current instance of any class. So when you are inside of any class and you want to refer the instance member of the class you can simple say 'this'.

    It refers to the current instance of any class. So when you are inside of any class and you want to refer the instance member of the class you can simple say 'this'.