+ 1

This keyword

What are different uses of this keyword other than .. (when parameters and instance variables are same,"this" is used)?

8th Feb 2018, 5:22 PM
Akshit Kukkar
Akshit Kukkar - avatar
1 ответ
+ 2
'this' is used whenever you're referencing the current instance of the object that's being called by whatever method called it.
8th Feb 2018, 5:34 PM
Fata1 Err0r
Fata1 Err0r - avatar