Multiple Choice
How does a method know for which object the method was called?
A) Any instance variable referred to by a method is considered to be declared to the object.
B) JVM sets the object reference, setName, to refer to the object for which the method has been called.
C) JVM sets the object reference, this, to refer to the object for which the method has been called.
D) None of these is correct.
Correct Answer:

Verified
Correct Answer:
Verified
Q24: The access modifier of constructors should be
Q25: The enum functionality is built into java.lang,
Q26: If the return type of the method
Q27: A _ is a collection of related
Q28: Which of the following is a correct
Q30: Which of the following is not one
Q31: Declaring a variable with the same name
Q32: We can define class variables using the
Q33: What is an advantage of returning the
Q34: Construct a method in which you could