Introduction to Java

Source: Internet
Author: User

What is 1.java?

Java is an advanced object-oriented programming language.

2.JVM

java Virtual Machine is the key to the cross-platform of Java programs, different platforms have different JVMs, and Java bytecode does not contain any platform-related information, not directly interacting with the platform, but indirectly interacting with the platform through the JVM. When the application executes, the JVM loads the bytecode, interprets the bytecode as a specific platform's machine code, and lets the platform execute.

Any application must be converted to machine code to interact with the computer, and if the source of the machine code relies on a specific platform, then the application cannot cross the platform. While the Java Application Runtime machine code is provided by a part of the Java system JVM, not limited by the platform, so the implementation of cross-platform.

3.java program running Process

The source code compiled by the programmer is converted to bytecode by the compiler, and bytecode is loaded into the JVM, which is interpreted by the JVM as machine code to run on the computer.

version 4.java

Java is divided into 3 versions for different purposes:

    1. The standard version of Java Se:java is the basis for other editions, primarily for the development of desktop applications.
    2. Java Me:java Enterprise Edition, primarily for the development of enterprise-class distributed network programs.
    3. Java EE: Mainly used for embedded system development.
5.JDK

Java Develop Kits, a toolkit for developing application prerequisites in the Java language, mainly includes compilers, JVMs, Java base APIs, and so on.

6.JRE

Java run Environment,java the environment that the runtime relies on, including the JVM and the Java base API.

7.API

application Programming Interface, an application programming interface, is a portal for writing applications in the Java language, including source code, bytecode help document three parts. How does an application consist of a series of methods that require it? What kind of method is accepted in the programming language? The API provides some basic methods for programmers to implement a feature that must follow the Java language Specification and invoke these methods to write more advanced methods.

8.java features
    1. Simple: The Java language is developed from C + +, eliminating complex, difficult-to-grasp parts of C + +, such as pointers.
    2. Object-oriented: The foundation of the Java language. Java sees everything as an interaction between objects and objects, abstracting objects into a collection of methods and properties.
    3. Distribution: It contains two aspects of operational distribution and data distribution. Operational distribution is a function that is performed by multiple hosts, and data distribution is a complete processing of data distributed across multiple hosts.
    4. Cross-platform: Applications written in the Java language are not platform-bound and can be migrated from one platform to another.
    5. Explanatory: The source code written in the Java language is converted to bytecode, and the bytecode can be executed by the computer only if it is interpreted by the JVM as a machine-code.
    6. Security: The Java language's underlying design can effectively avoid illegal operations.
    7. Robustness: Java provides a number of mechanisms to prevent critical errors at runtime, such as compile-time type checking, exception handling.
    8. Multithreading: Java supports multi-line lengths, allowing multiple threads within a process to work concurrently.

Introduction to Java

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.