+ 1

What is .this operator?

29th Nov 2016, 6:08 AM
Vignesh R
Vignesh R - avatar
2 Answers
+ 3
.this points to current object of the class you can previous posts here also for others answers
29th Nov 2016, 6:43 AM
Sandeep Chatterjee
+ 2
You use ".this" just for internal purposes of the class. For example you have a variable "name" and you want to manipulate it inside of a class with the mention that it refers to the current object.
29th Nov 2016, 7:20 AM
Gabriel Popa
Gabriel Popa - avatar