单项选择题

如果应用程序要在Applet上显示输出,则必须重写的方法是______。

A.Graphics.drawString()
B.repaint()
C.paint()
D.update()