-
Which of the following classes have a paint( ) method? (Select Multiple)
A) CanvasB) ImageC) FrameD) Graphics
-
Which of the following are passed as an argument to the paint( ) method?
A) A Canvas objectB) A Graphics objectC) An Image objectD) A paint object
-
-
What is the difference between the paint() and repaint() methods
The paint() method supports painting via a Graphics object. The repaint() method is usedto cause paint() to be invoked by the AWT painting thread.