Sail E0 Webinar
Question
Which of these methods can be used to output a sting in an applet?
Options:
A .  display()
B .  print()
C .  drawString()
D .  transient()
Answer: Option C


drawString() method is defined in Graphics class, it is used to output a string in an applet.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers