import acm.graphics.*;
import acm.program.*;
import java.awt.*;
public class MyRobot extends GraphicsProgram {
}
}
That is the code I wrote and whenever I put extends GraphicsProgram
or ConsoleProgram
, it tells me
The serializable class MyRobot does not declare a static final serialVersionUID field of type long.
Also, when I try to run a program with this warning, it just shows a blank program.
Anyone can help me with these problems?