As we know that a single Java programming language source file (or we can say . java file) may contain one class or more than one class . So if a . java file has more than one class then each class will compile into a separate class files.
As we know that a single Java programming language source file (or we can say . java file) may contain one class or more than one class . So if a . java file has more than one class then each class will compile into a separate class files.