you don't just leave out the "void" keyword...you have to replace it with what your method will return. It could be a primitive or an object.
You are not always returning a calculation. You might return an object that is a connection to a database. Or a
String. Or just about any kind of object.
it does not have to be a variable. If I have a method declared to return an int, i could do this:
return 7;
or a boolean method could have this:
return true;
In some ways, a method can be thought of as asking a question, and the thing returned is the answer.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors