Arguments for paint

Report a typo

In the following method, the type is missing for the paint method agument. What type is required to make this code correct?

public void paint(_____ g) {
    super.paint(g);

    g.drawRect(rectX, rectY, 50, 50);
}
Enter a short text
___

Create a free account to access the full topic