Getting Started with Java (1)--Introduction

Source: Internet
Author: User
Camp

When people know things, they like to label, classify, and row the camp. The more you experience, the more it will be.

This is not exactly a bad thing, at least you can compare things to a comparison, induction.

What kind of language is Java?

First of all, she is a high-level language. This is in comparison with the machine language, the assembly language.

In other words, she is mainly to facilitate people's understanding and reading, is not the priority of machine execution efficiency.

Second, we always like to classify high-level languages as "compiled" and "interpreted". For example, C is a compiled type:

Because we need to first use the compiler to convert the source code to machine-readable executable code, and then go to execute.

Note that this executable code is closely related to the machine and the operating system. Windows executable program, get on the Apple computer, simply can't run.

For example, Python is an explanatory type, also known as a "scripting language".

Python source code does not need to compile, but when the need to execute, with the interpreter side of the execution, which of course, it will be a bit slow, but gain a strong dynamic ability.

What about Java? Both are not.

Java uses a more trendy approach at the time (not surprisingly today, of course):

Instead of completely compiling the source code, she compiles it halfway up the hill to form an ideal or imaginary machine.

Because this machine is hypothetical, there is no difference between hardware and software such as Windows, Linux, or x86, power PCs, and so on.

This imaginary machine, on different real machines, can be simulated by different software. It's called "The Machine."

Getting Started with Java (1)--Introduction

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.