← Back to topics
Topic

HELP! how can I submit java solutions?

r
ryanaaa
Whatever I did , I always got a compile error which said "class Main is public, should be declared in a file named Main.java"...
I've remove the package declaration and name the file Main.java.
what can I do? THX!!
r
ryanaaa
I've got it.
To submit solutions in java, one have to name the soursefile zi.java...
Wu yu le...