Which of these methods can be used to output a sting in an applet?
A. display()
B. print()
C. drawString()
D. transient()
Answer:A
Which of these methods can be used to output a sting in an applet?
A. display() B. print() C. drawString() D. transient()
Explanation: drawString() method is defined in Graphics class, it is used to output a string in an applet.