Explain the life cycle of an Applet.

Solution:

An applet may undergo the following states:

  • Init : An applet is initialized each time is loaded.

  • Start : Begin the execution of an applet.

  • Stop : Stop the execution of an applet.

  • Destroy : Perform a final cleanup, before unloading the applet.

    1.jpg

0 answers