![]() |
![]() |
![]() |
![]() |
![]() |
|
Because the only purpose of setMinutes, as defined in
Segment 224, is to assign a value to a instance variable,
setMinutes is marked void, indicating that no value is to be
returned. If you prefer, you can write setMinutes such that it
returns the previous value or the new value.