Some features about Java

Source: Internet
Author: User

One, simple

Why is that simple? Because those who have learned C + + or C, the first time you come to learn Java, you will feel Java is very familiar, because there are many languages in Java and C or C + + have many of the same, but C + + some easy

Confusing things that are discarded in Java, instead, Java uses a clearer, easier-to-understand approach to implementing those operations in C + +, for example, the notion that there are no pointers in Java.

Second, object-oriented

Object-based programming is more consistent with people's thinking patterns, making it easier for people to solve complex problems. Java is the object-oriented programming language, the basic idea is to use objects, classes, inheritance, polymorphism, encapsulation and so on. which

The basic characteristics of object-oriented are encapsulation, inheritance, polymorphism, overloading, rewriting.

Third, platform-Independent

When it comes to platform-agnostic, Java is a cross-platform programming language, which is a great advantage for other programming languages because Java can do it on top of the computer's operating system

Provides a Java runtime environment (Java Runtime Environment, JRE). The runtime consists of a Java virtual machine, a class library, and some core files, which means that, as long as the platform provides the Java runtime environment, the Java

Write software can run on it.

Four, multi-threaded

From the literal sense, this is a multi-line program, which means that Java can execute multiple instructions at the same time, greatly reducing the efficiency and time of the program, compared to C + + has no built-in multithreading mechanism.

V. Dynamic

The basic components of a Java program are classes, some classes are written by themselves, some classes are introduced from the class library, and classes are dynamically loaded at runtime, which allows Java to dynamically maintain programs in a distributed environment and

Class Library.

Some features about Java

Related Article

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: 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.