Please what is the "this" for

+2 James Idowu · November 1, 2016
I'm just trying figure out what

Post a Reply

Replies

Oldest  Newest  Rating
+1 Gary Whitney · November 1, 2016
This refers to the object currently in use.
It is a shortcut for having to type the name of the object.
It is most helpful because you may not know the name of the object instance when you write the code.
  • 1

Java / Android Development

113,845 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator