3.1.1.12 Returning a value/values from a subroutine. Flashcards
1
Q
Define the key word for returning a value from a subroutine.
A
Return (value);
2
Q
What return type would this use?
A
Any return type other than void.
3
Q
Define what must happen if a method does not return a value.
A
It must be declared to return void.