单项选择题

Component类中用于刷新组件的方法是

A.getFont
B.getName
C.update
D.paint