What language is Java?

Source: Internet
Author: User

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.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.