Explain the role of return statement in a method?
37 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
23 Likes
What is a method? Explain the various parts of a method.
How do you define and invoke a method?
What does void signify in the method prototype?
Explain the difference between actual and formal parameters.