1.

Which of these functions is called to display the output of an applet?(a) display()(b) paint()(c) displayApplet()(d) PrintApplet()This question was addressed to me in a job interview.I want to ask this question from Applets Fundamentals topic in section I/O & Applets of Java

Answer»

The CORRECT answer is (b) PAINT()

Easiest explanation: Whenever the applet requires to redraw its OUTPUT, it is DONE by using method paint().



Discussion

No Comment Found

Related InterviewSolutions