viewing paste Unknown #27577 | Text

Posted on the
1 2 3 4 5 6
Within an instance method, a programmer might utilize the special syntax this.someMember to reasonably assist with which of the following challenges?  (Check all that apply):
 
        A.      To get at private data of a parameter that is passed to the method.
        B.      To enhance readability, if the programmer wants to allow the reader to easily distinguish instance members in their methods from local variables of those methods.  While not required, prepending this. to each member used in the method can only mean that those variables refer to the calling object's members.
        C.      To get at private data of the calling object (the this object), if there is a local variable that has the same name as the instance member in question.
        D.      To get at private data of the calling object, since without this. before the member, that member's privacy prohibits direct access.
Viewed 305 times, submitted by unknown.