Multiple Choice
Suppose an object is intended to store its current position in a 2D array using private instance variables and a mutator: What problem could be encountered with the method moveLeft() , which is intended to move the current position of the object to the left one column on the grid?
A) The method should be changing the row instance variable.
B) The method should be incrementing the column instance variable.
C) The method might cause the instance variables to go out of the bounds of the 2D array.
D) The method should be changing local variables instead of instance variables.
Correct Answer:

Verified
Correct Answer:
Verified
Q72: What is the name of a class
Q73: Which is an example of a class
Q74: In which of the following cases could
Q75: It is common for certain classes to
Q76: Which action is not accomplished by using
Q78: Which of the following would be an
Q79: Which class does not require an import
Q80: Which annotation is used to mark test
Q81: Can the method lastDayOfMonth be changed to
Q82: Which of the following classifications of method