KnowledgeBoat Logo
|
LoginJOIN NOW

Computer Applications

What does the return statement do in a method?

User Defined Methods

18 Likes

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.

Answered By

11 Likes


Related Questions