在acm在线系统中上传程序,有如下错误提示,是什么原因啊? 求详解!!!
错误信息如下:./UserSrc/Main.java:31:classnyist662ispublic,shouldbedeclaredinafilenamednyist...
错误信息如下:
./UserSrc/Main.java:31: class nyist662 is public, should be declared in a file named nyist662.java
public class nyist662
^
1 error 展开
./UserSrc/Main.java:31: class nyist662 is public, should be declared in a file named nyist662.java
public class nyist662
^
1 error 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询