While preparing for an upcoming Coursera course (Introduction to Algorithms) I came across this statement in the text
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?