The values that they return are displayed on the right, int and void. Because the print_text
method is a void
method, you don't need to set up a return value. All you need is the name of your object, a dot, and the void
method you want to
call. Java will then just get on with executing the code inside of your
method.
read more >>