There are some really good answers here. I also wanted to chime in with my own as well.
One thing to know about return is that it does not have to return any value, unless a return type was included in the method declaration. To really understand the point of return, you need to look at the way a method is declared. There are several things that make up the definition of a method and thus many ways it can behave or be interacted with.
This is the syntax used to declare methods.
[access modifier] [optional modifier] [return type] [method call [the name]([parameter type parameter, parameter type parameter, .....])] { [method body - the code the method executes when called])
Let's look at these
So, what does return do? Why did I find it necessary to get into such a detailed explanation of such basic concepts in order to answer your question? Well, because the return key word, really is absolutely tied to al