which return type must be used if the method does not return any value
Answers
Answered by
4
If a function does not return any value ( also called returns void) then the return type of the function will be void.
Answered by
2
heya!
here is your answer.
You declare a method's return type in its method declaration. Within the body of the method, you use the return statement to return the value. Any method declared void doesn't return a value. It does not need to contain a return statemen
plse mark as brainlist.
here is your answer.
You declare a method's return type in its method declaration. Within the body of the method, you use the return statement to return the value. Any method declared void doesn't return a value. It does not need to contain a return statemen
plse mark as brainlist.
Similar questions