You should override the ____ method to draw things on a Swing component.

You should override the ____ method to draw things on a Swing component.


A. repaint()
B. update()
C. paintComponent()
D. init()

The correct answer is C


Java

Learn More Multiple Choice Question :