单项选择题

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

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