Which of the following ways can be used to generate a sting in an applet?
A. exhibit ()
B. printing ()
C. drawString ()
D. transitory ()
Answer:C
Which of the following ways can be used to generate a sting in an applet?
A. exhibit () B. printing () C. drawString () D. transitory ()
Explanation: The Graphics class defines the drawString() method, which is used to produce a string in an applet.