Self-Review Exercise

20.1Fill in the blanks in each of the following:
  1. Java applets begin execution with a series of three method calls: _______, _______ and _______.

  2. The ________ method is invoked for an applet each time the user of a browser leaves an HTML page on which the applet resides.

  3. Every applet should extend class _______.

  4. The ________ or a browser can be used to execute a Java applet.

  5. The ________ method is called each time the user of a browser revisits the HTML page on which an applet resides.

  6. To load an applet into a browser, you must first define a(n) ________ file.

  7. Method _________ is called once when an applet begins execution.

  8. Method _________ is invoked to draw on an applet.

  9. Method _________ is invoked for an applet when the browser ...

Get Java™ How to Program, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.