This error message is indicating that the class "Round" should be declared in a file named "Round.java". This is because in Java, the name of the file should match the name of the public class declared in that file.

To fix this error, you should create a new file named "Round.java" and move the "Round" class definition into that file. Alternatively, you could rename the existing file to "Round.java" if it is currently named something different.

Mainjava1 error class Round is public should be declared in a file named Roundjavapublic class Round ^1 error

原文地址: https://www.cveoy.top/t/topic/bWAi 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录