what is the role of Return statement
Answers
Answered by
4
Explanation:
A return statement causes the program control to transfer back to the caller of a method. Every method in Java is declared with a return type and it is mandatory for all java methods. A return type may be a primitive type like int, float, double, a reference type or void type...... hope it may help you.....
Answered by
0
Answer:
the return statment terminates the execution of a function and return control to the calling fuction.Execution resumes in the calling fuction.at the point immediately following the call.a return statment can also return a value to the calling function
Similar questions
Math,
5 months ago
Social Sciences,
5 months ago
Business Studies,
11 months ago
Math,
11 months ago
Biology,
1 year ago
Biology,
1 year ago
Science,
1 year ago