A good answer might be:

Yes.

Documentation of Methods

Looking further in the documentation for Component you will find a list of the methods for the class. Here is a shortened version of one of them:


paint

public void paint( Graphics  g)

Paints this component. This method is called when the contents of the component should be painted in response to the component first being shown or damage needing repair.

Parameters: g - The graphics context to use for painting.


QUESTION 8:

Button is a child class of Component. Does Button have a paint() method?

Click Here after you have answered the question