Multiple choice technology programming languages

Which is true about applet?

  1. Applet version has main method

  2. GUI components are added explicitly to the Applet

  3. Aplet class is declared private

  4. None of the above

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

All statements A, B, and C are false. Applets do not have a main method (they use init(), start(), etc.), GUI components can be added to containers in various ways, and the Applet class is public. Therefore D is correct.