Multiple choice technology web technology

Which method will a web browser call first on a new applet?

  1. main method

  2. start method

  3. init method

  4. paint method

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

When a web browser loads an applet, it calls the init() method first - this is where one-time initialization happens. The browser then calls start() to begin execution, and may call paint() when the display needs rendering. The main() method is NOT used in applets - that's for standalone applications.