单选题 如果要在Applet中显示特定的文字、图形等信息,可以在用户定义的Applet类中重写的方法是
  • A.paint()
  • B.update()
  • C.drawstring()
  • D.drawLine()
【正确答案】 A
【答案解析】