Java ACM JTF Package
<p>I have a doubt in the below piece of code. I wanted to know why does the code compile and run correctly even though main method is not present?</p>

<pre><code>import acm.program.*;  

public class HelloConsole extends ConsoleProgram {  

   public void run() {  
      println("hello, world");  
   }    
}
</code></pre>

<p>Thanks.</p>
