return
Statement
The return statement is used to explicitly return from a method.
That is to say that it causes a program control to transfer back to the caller of the method.
|
If a method is without any return values, use the void keyword to specify that a method should not have a return value:
|
All roads lead to Rome. |