What is the purpose of void?
<pre><code>public class test
{
    public static void main(String[] args)
    {
        int x = 5;
        int y = 10;
        multiply(x,y);
    }
    public static void multiply(int x, int y)
    {
        int z = x*y;
        System.out.println(z);
    }
}
</code></pre>

<p>I am new to programming and I am confused on a few things.</p>

<ol>
<li><p>Why is it correct to use void? I thought void is used in order to specify that nothing will be returned but, the multiply method returns z.</p></li>
<li><p>Do all programs require that you have exactly "public static void main(String[] args)"? What exactly is the purpose of the main method and what do the parameters "String[] args" mean? Would the program work if the main method was removed?</p></li>
</ol>

<p>Thank You!</p>
