Call to function fails to return or print
<p>I want to print 10/20 by calling the someFunction function and print first 10 and then 20</p>

<pre><code>class myfirstjavaprog
{  
    void someFunction(int someParam) 
    { 
        System.out.println(someParam); 
    }                    &lt;-- error                           

    someFunction(10);    &lt;-- error   
    someFunction(20);  
}    
</code></pre>

<p>I don't understand why it's not working.</p>
