See point 2 in the link above, quoted from the link:
See the rest of that page (and further) to see method declarations with are defined with void.
To pass a class, or to learn...because...
Type: Posts; User: copeg
See point 2 in the link above, quoted from the link:
See the rest of that page (and further) to see method declarations with are defined with void.
To pass a class, or to learn...because...
See Defining Methods (The Java™ Tutorials > Learning the Java Language > Classes and Objects) . Void is nothing, so return nothing.