In Java, you can define multiple top level classes in a single file, providing that at most one of these is public (see In Java, you can define multiple top level clas
In Java, you can define multiple top level classes in a single file, providing that at most one of these is public (see In Java, you can define multiple top level clas