For example, the main() static method in our programs has a void return type
because its purpose is to produce output. Technically, void methods do not
implement mathematical functions (and neither does Math.random(), which
takes no arguments but does produce a return value).
-- p. 24 Algorithms (4e), Sedgewick & Wayne
The part in bold stumped me. Can someone walk me through that statement?
Since a method of type void does not give you back a return value, it does not fit the definition of a mathematical function.
I was missing the computer science specific definition of the word "implement."
I thought we were about to get into a deep discussion about design theory.