import acm.graphics.*;
import acm.program.*;
import java.awt.*;
public class MyRobot extends GraphicsProgram {
}
}
那是我写的代码,每当我输入extends GraphicsProgram
or时ConsoleProgram
,它都会告诉我
The serializable class MyRobot does not declare a static final serialVersionUID field of type long.
此外,当我尝试运行带有此警告的程序时,它只显示一个空白程序。
任何人都可以帮助我解决这些问题吗?