Originally posted by Scott Selikoff:
The rule is that every class file must have exactly one public class declared
It's not a
must that a public class be declared in a compilation
unit (i.e., a
Java source file). There can be,
at most, only one public class in it. You can also have one or more default access classes (package access) declared in a compilation unit.