The Third Java Foundation

Source: Internet
Author: User

1:java Technology Station
2: Graphic image
3: library lib.
4: Basic Package
5:jvm
6 Operating system
7 Computer Hardware

: Operating mechanism:
java========= "Java compilation ========". class file ======== "
. jar Package ========= "products to users
. jar Package ======= "operating system (including JVM industry standard) =======" jvm=====> native JVM directive
Four:
C + +: Is the direct generation of CPU instructions.
JAVA: Generate class file, compile by Javac, JIT Real-time editor.

: Data type:
Int 1 2 3 4
Float 1234.21335 (7 digits after the decimal point of the floating-point number)
Double 1234.12563 (doubles) 14 digits after the decimal point.

the presentation naming rules for Java:

1: Identifiers are composed of letter, underscore, and ($) dollar sign AA digits.
2: Identifiers should start with a letter, underscore, dollar sign.

Variables and constants:
Variable: Refers to a data type that can be rewritten at least once.
Constants: The amount of data that cannot be changed throughout the program, usually the variable names are capitalized. Eg:
Final int pi=10;


Several operators:
Arithmetic operators: +-*/%
Relational operator:< > = >= <=! =
Logical operators: $$ | |!

The Third Java Foundation

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.