Multiple choice

Which of the following methods of life cycle of an applet initilizes variables, and add components like buttons and check boxes to the applet?

  1. init() method

  2. start() method

  3. stop() method

  4. destroy() method

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

init() method is used to initilize variables, and add components like buttons and check boxes to the applet.