Multiple Choice
What will be returned from a method, if the following is the method header?
Public Rectangle getRectangle()
A) An object of the class Rectangle
B) The address of an object of the class Rectangle
C) The values stored in the data members of the Rectangle object the method changed
D) A graph of a rectangle
Correct Answer:

Verified
Correct Answer:
Verified
Q13: Both instance fields and instance methods are
Q30: If a class has a method named
Q32: If you attempt to perform an operation
Q33: If the following is from the method
Q36: Assuming the following declaration exists: enum Tree
Q36: When an object reference is passed to
Q39: The this key word is the name
Q40: Assume the class BankAccount has been created,
Q41: Which of the following is NOT true
Q43: If a class has a method named