Possible Duplicate:
Why only 1 public class in Java file
Why does the Java language put a restriction that there has to be only one public class in a source file?
Possible Duplicate:
Why only 1 public class in Java file
Why does the Java language put a restriction that there has to be only one public class in a source file?