Java's operating mechanism:
compilation + interpretation
Compiler:
Translate a book
Compiler
Fast execution speed
C/C++
Interpretation type: the
translator explains
JS, Python and
Java sentence by sentence , which is closer to the interpretation type
Program operation mechanism:
.java file, enter the compiler, pre-compile, generate .class file, jvm loads the class into the class loader, then code inspection, the last sentence is explained to the OS