What is Java?

Source: Internet
Author: User

First, let's Look at Java features

? Simple----Java designers have removed many of the complex features in C + +, such as pointer manipulation and operator overloading

? Object-oriented----Everything in Java is an object. Therefore, focus on the data, the methods of manipulating objects in the application, and the process (all objects)

? Robustness----Java checks code when compiling and interpreting

? Security----Java provides controlled environments for executing programs, as well as multi-layered security controls (pointers are not allowed)

? cross-platform----compile once, run everywhere (virtual machine)

? Garbage collection----No memory leaks (GC)

? open source, open platform

Java three operating platforms

Beginners will certainly be confused, why to provide three kinds of running platform

? J2SE (Java 2 platformstandardedition)

§java Standard Edition or Java standard platform

? EE (Java 2 Platform Enterprise Edition)

§java Enterprise Edition or Java Enterprise Platform

? J2ME (Java 2 Platform Micro Edition)

§java Mini-version or Java mini-platform

Three core mechanisms of Java

? A Java Virtual machine (JVM) is a computer that is emulated by software or hardware on a single computer.

§java compiler

? generates a class file for a Java Virtual machine and is therefore platform independent.

§java Interpreter

Responsible for running the Java Virtual machine's code on a specific platform.

? garbage collection mechanism (garbage collection)

? code security Detection

Java Cross-platform principle

What is 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.