Multiple choice

Which of the following statement is not true about Applet in java?

  1. An applet can contain main method.

  2. The code of the applet can be downloaded in a user's browser if the html page contain that applet.

  3. The Graphics class is used to display the output of the applet.

  4. An applet can be used to fetch an image.

  5. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

No, applet does not allow main method.