posted 21 years ago
I think the entire file is silently skipped...
A sourcefile may contain AT MOST one public class which then must have the same name as the file.
It may contain ANY number of non-public classes.
Combining the two, a source file containing no classes is therefore legal.
As classfiles are created one per class, no classfile would result if there were no classes defined in a source.