單項選擇題

在Java中,為了使paint()方法執(zhí)行,以下各項中,()是最佳的調用方法  

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

微信掃碼免費搜題