Quiz: Arguments and Return Values Exercise
Consider the statement:
int daysOld = today.daysFrom(birthday);
| What is the argument of the method call? | birthday |
The argument is supplied to the method. |
| What is the type of the return value? | int |
The method returns an int, the number of days between the two Day objects. |