title: Who calls the main function in java?
body: <pre><code>public static void main(String[] args) 
  {
      boolean t=true;
      System.out.println("Before return");
      if(t) return;
      System.out.println("not execute");
  }
  </code></pre>
  
  <p>In the above code when the <code>return</code> is used then it should return to the function which calls the main function. Who exactly calls the <code>main</code> function?</p>