There is a line missing from the beginning of the following paint method. What would be required in order to make the paint method function correctly?
public void paint(Graphics g) {
__________________
g.drawRect(rectX, rectY, 50, 50);
}There is a line missing from the beginning of the following paint method. What would be required in order to make the paint method function correctly?
public void paint(Graphics g) {
__________________
g.drawRect(rectX, rectY, 50, 50);
}Create a free account to access the full topic