Sail E0 Webinar
Question

Which of these functions is called to display the output of an applet?


Options:
A .  display()
B .  print()
C .  displayApplet()
D .  PrintApplet()
Answer: Option B

Whenever the applet requires to redraw its output, it is done by using method paint().



Was this answer helpful ?

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers