Friday, 4 January 2013

What is ‘this’ pointer? | OOPS

 THIS pointer refers to the current object of a class. THIS keyword is used as a pointer which differentiates between the current object with the global object. Basically, it refers to the current object.

No comments: