Multiple choice

Which of the following methods of the painting is called to clear the screen and call the paint() method?

  1. update() method

  2. repaint() method

  3. paint() method

  4. none of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

update() method of the painting method is called to clear the screen and call the paint() method.