what is the function of 'this' operator ?

Answer Posted / walking legend

as we generally know a pointer is used to point to the
address of a particular variable and access its value.
Similarly,this is a pointer which always points to the
current object.

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 pillars of oop?

884


What makes a language oop?

837


What does I oop mean?

855


write knight tour problem which is present in datastructure

2397


What is debug class?what is trace class? What differences are between them? With examples.

1873


How many human genes are polymorphic?

807


What is abstraction in oops?

805


Is enum a class?

811


What is object-oriented programming? Webopedia definition

967


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2231


What is a class and object?

812


Get me a number puzzle game-program

1949


What is methods in oop?

754


What is encapsulation oop?

811


which feature are not hold visual basic of oop?

1956