单项选择题

当为组件调用repaint()时,AWT包调用组件方法()

A.update
B.paint
C.draw
D.show