1.

What Is ‘this’ Pointer?

Answer»

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.

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.



Discussion

No Comment Found