title: Java Beginner question about String[] args in the main method
body: <p>So I just tried excluding <code>String[]</code> args from the <code>main</code> method</p>
  
  <p>It compiled alright !</p>
  
  <p>But JVM is showing an exception</p>
  
  <p>Why did it compile when <code>String[]</code> args HAS to be included every time ?</p>
  
  <p>What is going on here ? Why won't it show a compilation error ?</p>
  
  <p>typing this made me think that may be compiler did not see it as THE <code>main</code> method ..is that so ? </p>
  
  <p>If that is the case..why not ? I mean isn't there supposed to be just one main method that MUST have <code>String[]</code> args as the argument ?</p>