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,
4 months ago
Math,
4 months ago
Accountancy,
4 months ago
Business Studies,
8 months ago
Math,
8 months ago
Biology,
11 months ago
Biology,
11 months ago
Science,
11 months ago