What is the use of this pointer?

Question:
 What is the use of this pointer?

1.When local variable’s name is same as member’s name, we can access member using this pointer.

2.To return reference to the calling object

3.Can be used for chained function calls on an object

4.All of the above

Posted Date:-2022-07-04 03:50:03


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!