Multiple Choice
A new method, getMonthName, to get the name of the Date's month ("January", February", etc.) is to be added to the class Date. Which of the following headers should it have?
A) public String getMonthName(int month)
B) public String getMonthName()
C) public void getMonthName(String monthName)
D) public void getMonthName(int month, String monthName)
Correct Answer:

Verified
Correct Answer:
Verified
Q3: Which of the following names would be
Q18: Which of the following types of methods
Q19: A theater needs a TicketCounter to keep
Q53: Which of the following questions should you
Q56: Side effects related to standard output generally
Q57: Consider the Checker class below. public class
Q58: Which perspective should be used in formulating
Q60: Given the following class definition, which of
Q61: Which of the following is considered by
Q81: Can the method lastDayOfMonth be changed to