This applies to subclasses of Applet, Servlet, Midlet, etc.
Why do they not need a main()? If I wanted to create a Craplet class that start
main()
Craplet
Applets and Servlets do not start their own process. Instead they run inside a container. Therefore, they do no need a static main method (which starts the process), but a way to interact with their container.