Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re: * Compile Error Main.java:1: class <Class Name> is public, should be declared in a file named <Class Name>.javaIn Reply To: * Compile Error Main.java:1: class <Class Name> is public, should be declared in a file named <Class Name>.java Posted by:lastajc at 2008-07-27 20:29:55 > how come i am getting this kind of compile error when my program should be running flawlessly in my pc. > > i need any kind of help from anyone... > > thanks! you should change your class name to "public class Main{}" Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator