Which of the following statements are correct about the this reference? 1. this reference can be modified in the instance member function of a class. 2. Static functions of a class never receive the this reference. 3. Instance member functions of a class always receive a this reference. 4. this reference continues to exist even after control returns from an instance member function. 5. While calling an instance member function we are not required to pass the this reference explicitly.

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Which of the following statements are correct about the this reference?

1. this reference can be modified in the instance member function of a class.
2. Static functions of a class never receive the this reference.
3. Instance member functions of a class always receive a this reference.
4. this reference continues to exist even after control returns from an instance member function.
5. While calling an instance member function we are not required to pass the this reference explicitly.

1. 1, 4

2.2,3,5

3.3,4

4.2,5

Posted Date:-2021-02-25 10:32:15


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!