单项选择题

在JAVA中,为了使paint()方法执行,以下各项中,()是最佳的调用方法。 

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

相关考题