If you are running an Applet the BROWSER is actually the program that is running and it was probably not written in
java. The four methods that Applets use are a "contract" or agreement between java and the browser so that you can give the browser instructions on how to start, maintain and close down your Applet.