Good question. In an application you NEED a main method, in applets the main method is the init(), start(), or paint(). You can have either 3 to start the applet. These three are of equal value as the main method seen in applications. Also, in order to display a java program you need an applet to do it if you want the java program to run on the web.
View All Comments
| View Tutorial