Home » JAVA Programming » Applet » Question
  1. Which of these methods can be used to output a string in an applet?
    1. print()
    2. drawString()
    3. display()
    4. transient()
    5. None of these
Correct Option: B

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



Your comments will be displayed only after manual approval.