Multiple Choice
When should a program explicitly use the this reference?
A) Accessing a private variable.
B) Accessing a public variable.
C) Accessing a local variable.
D) Accessing a field that is shadowed by a local variable.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Having a this reference allows:<br>A) a method
Q8: By default,the classpath consists only of the
Q12: A programmer-defined constructor that has no arguments
Q13: The import declaration import *;_.<br>A)causes a compilation
Q14: Instance variables declared final do not or
Q16: When compiling a class in a package,the
Q22: Set methods are also commonly called _
Q24: Which of the following is false?<br>A) A
Q25: A final field should also be declared
Q27: Which statement is false?<br>A) The actual data