return statement is used to explicitly return from a method. It causes the program control to transfer back to the caller of the method.
return can be used to return from any part of the method code.
Return Statement CODE class ReturnStatement OUTPUT Before the return DESCRIPTION After THINGS TO TRY
|