Java - Methods and Code Reusability
What happens when a Java method reaches a
return statement?return statement?return in methodsreturn keyword ends method execution and optionally sends a value back.returnreturn runs, the method stops and returns control to the caller.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions