Home / C# Programming / Classes and Objects :: Discussion

Discussion :: Classes and Objects

  1. 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.

  2. A.
    1, 4
    B.
    2, 3, 5
    C.
    3, 4
    D.
    2, 5
    E.
    None of these

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment