What does the return statement do in a method?
18 Likes
Return statement sends back the value given to it from the called method to the caller method. It also transfers the program control back to the caller method from the called method.
Answered By
11 Likes
What is a method signature?
How do you define and invoke a method?
What does void signify in the method prototype?
Explain the difference between actual and formal parameters.