Java · Static methods

Returning a value

A method that only prints its answer leaves the rest of the program with nothing to calculate with.