KnowledgeBoat Logo
|
LoginJOIN NOW

Computer Applications

Explain the role of return statement in a method?

User Defined Methods

35 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

23 Likes


Related Questions