Key features of the Java language

Source: Internet
Author: User
Tags thread class

The Java language is easy to learn.
The syntax of the Java language is close to the C and C + + languages, making it easy for most programmers to learn and use Java.

The Java language is mandatory for object-oriented.
The Java language provides primitives such as classes, interfaces, and inheritance, and for simplicity, only single inheritance between classes is supported, but multiple inheritance between interfaces is supported, and the implementation mechanism between classes and interfaces is supported (the keyword is implements).

The Java language is distributed.
The Java language supports the development of Internet applications and has a network application programming interface (Java net) in the basic Java application programming interface, which provides a class library for network application programming, including URLs, URLConnection, sockets, ServerSocket and so on. The RMI (remote method Activation) Mechanism of Java is also an important tool for developing distributed applications.

The Java language is robust.
Java's strong typing mechanism, exception handling, and garbage collection are important guarantees of Java program robustness. Discarding pointers is a wise choice for Java.

The Java language is secure.
Java is typically used in a network environment, and Java provides a security mechanism to prevent malicious code from attacking. Such as: Security guard mechanism (class ClassLoader), such as assigning different namespaces to prevent the substitution of local class, byte code check.

The Java language is architecture-neutral.
Java programs (files that are suffixed with Java) are compiled into an architecture-neutral bytecode format (a file with a suffix of Class) on the Java platform and can then be run on any system that implements the Java platform.

The Java language is an interpreted type.
As mentioned earlier, Java programs are compiled into bytecode format on the Java platform and can then be run in the interpreter of any system that implements the Java platform.

Java is slightly more performance-efficient.
Java's performance is better than the interpreted high-level scripting language.

The Java language is native to multithreaded support.
In the Java language, a thread is a special object that must be created by the thread class or its child (grandchild) class.

Key features of the Java 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.