Java is a computer programming language with cross-platform, object-oriented, and generic programming features. It is widely used in enterprise Web application development and mobile application development.
The Java programming language is very similar to the c ++ language. Inheriting the core of the object-oriented technology of C ++, Java discards the pointer that is prone to errors in the C ++ language and replaces it with references, at the same time, the original C ++ and original operators are removed, and multiple inheritance features are also removed. Instead of interfaces, the garbage collector function is added. Java SE 1.5 introduces generic programming, type-safe enumeration, variable length parameters, and automatic installation/unpacking features. Sun Microsystems explain the following to Java: "Java programming language is a simple, object-oriented, distributed, explanatory, robust, secure and system-independent, portable, high-performance, multi-thread, and Dynamic Language"
Java is different from the general compilation language and literal translation language. It first compiles the source code into bytecode, and then relies on virtual machines on different platforms to explain and execute bytecode, thus implementing the cross-platform feature of "one write, run everywhere. In early JVMs, this reduced the running efficiency of Java programs to a certain extent. However, after J2SE1.4.2 was released, Java's running speed was significantly improved.
(1) Java language compilation --> explanation --> running process
(2) JVM
Therefore, java is an interpreted language.