Applet termination - sequence of methods calls - Applets - stop(),destroy()

Q.  When an applet is terminated which of the following sequence of methods calls take place?
- Published on 17 Jul 15

a. stop(),paint(),destroy()
b. destroy(),stop(),paint()
c. destroy(),stop()
d. stop(),destroy()

ANSWER: stop(),destroy()

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)