Java Language Overview

Source: Internet
Author: User
Tags java se

A computer program: A collection of ordered instructions written to enable a computer to perform certain operations or solve a problem

The tool for writing programs is computer language. The Java language is one of many languages

Second: Introduction to Java Technology Platform

1.Java SE: Standard Edition

Fundamentals and core of Java technology

2.Java EE: Enterprise Edition

Provides a complete solution for enterprise-class application development

Many websites are developed using Java EE technology.

Three: Java JDK

1.JDK (Java Development Kit) is the Java Development Kit

2.JRE (Java runtime enviroment) is the Java Runtime Environment

3.JVM (Java Virtual machine) Java VM

The 4.Java SE API is the Java system core Class library (used for both network, Io,gui, etc.).

Jdk=java Developer Kit +JRE

Four: Java language programming considerations

A. Case sensitive, to be aware of case-sensitive

B. In general, after each code is written, one ";" Semicolon End

C. In code, the appearance of parentheses is generally paired, such as {}

V: Use escape character:

Escape Character Description

\ n Moves the cursor to the first pane of the next line

\ t moves the cursor to the next horizontal tab position

Vi.: Notes

Comments in Java: In the Java language, comments fall into three categories: single-line comments, multiline comments, document annotations

Single-line Comment://note content is primarily a single line of code, or a variable to explain

Multiline comment/* Comment content * * Mainly on a single line of code, or a variable to explain

Document Comments/** Comments * * Description of classes (Class), methods can also be described, and the contents of comments Generate API documentation Information

VII: Java Coding specification

1. Class names are decorated with public

2. Write only one statement in a row

Use and location of 3.{}

4. Indentation of the Code

Java Language Overview

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.