Multiple Choice
Can the method lastDayOfMonth be changed to be a static method by just changing the header to the following?
private static int lastDayOfMonth()
A) No.It could no longer access the month instance variable.
B) No.A class cannot have both static and non-static methods.
C) Yes.No other change is necessary.
D) Yes, but it must be changed to public as well.
Correct Answer:

Verified
Correct Answer:
Verified
Q76: Which action is not accomplished by using
Q77: Suppose an object is intended to store
Q78: Which of the following would be an
Q79: Which class does not require an import
Q80: Which annotation is used to mark test
Q82: Which of the following classifications of method
Q83: Which of the following statements regarding static
Q84: Consider the partial class below: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB34225555/.jpg"
Q85: Which statement will import the static methods
Q86: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"