ICSE Class 9 Computer Applications Question 3 of 10

Working with Methods — Question 3

Back to all questions
3
Question

Question 3

Explain the role of return statement in a method?

Answer

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.