Multiple public class in java file July 8, 2019 16 32 64 128 Can we have multiple public class in a java source file Error class main is public should be declared in a file named main.java