Description of Java classes, relationships java class files with the file name and number?

The relationship between Java classes, Java file, class file name

Java class name: Java class name is the name of the object to take us to our defined when programming.

java file name: Java program we need to save the file, save the file suffix .java, is the Java file name before .java.

class file name: Java program you want to see the results they need to run the .class file. .Class file is in front of the class name

relationship

In fact three of the same name is defined in the file name must be the same in the Java class name, and file name of the .class file is compiled after the .java file did not change.

Guess you like

Origin www.cnblogs.com/ArrayStoreException/p/11831484.html