A Java class file is a file (with the . class filename extension) containing Java bytecode that can be executed on the Java Virtual Machine (JVM) . … If a source file has more than one class, each class is compiled into a separate class file.
What exactly is a .class file?
A Java class file is a file (with the . class filename extension) containing Java bytecode that can be executed on the Java Virtual Machine (JVM) . … If a source file has more than one class, each class is compiled into a separate class file.