Which method of the Applet class displays the result of applet code on screen?

Options
- run()
- paint()
- drawString()
- main()


CORRECT ANSWER : paint()

Write your comments

 
   
 
 

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


Advertisement