Operating basis of JAVA program

Operating basis of JAVA program

Compiled

Interpreted

​ Compilation type means to translate the entire program at once;

​ Explainability means that following the program, you can translate as much as you write.

​ eg: Chinese authors and American readers have translated the entire book and read it. This is equivalent to the compilation type, or you can hire a translator to perform real-time translation and interpretation. This is the interpretation type. Both are practical. Each has its own advantages. It is like compiling the entire book to facilitate readers to read back and forth independently, but if the Chinese author makes changes in some place, it needs to be recompiled.

Compilation type: development operating system c, c++

Interpretation type: scripts for web pages and servers that do not require high speed, such as python

java belongs to both

Program operating mechanism:

Insert picture description here

But with the improvement of computer performance, the distinction between compiled and interpreted types is not so clear.

Guess you like

Origin blog.csdn.net/weixin_45814538/article/details/108599268