20155327 2017-2018-2 "Java programming" the first week of study summary

Source: Internet
Author: User
Tags java se
Chapter 1th Java Introduction Java features

Simple
Object oriented
Platform-Independent
Multithreading: Allows multiple tasks to be completed at the same time
Dynamic: The basic component of a Java program is a class (some classes are written by themselves, some are introduced from a class library, and classes are dynamically loaded at runtime)

Platform and JDK installation

(1) Java SE (formerly known as J2SE) is called Java Standard Edition or Java standard Platform (note: This platform is the best platform to learn the Java language, and mastering Java SE is necessary for further learning Java EE and Android.) )
(2) Java EE (formerly known as EE) is called Java Enterprise Edition or Java Enterprise Platform
(3) Java ME (formerly known as J2ME) is known as Java mini-version or Java mini-platform

Java 2 program to open steps
1)编写源文件:扩展名必须是 .java。 2)编译Java源程序:用Java编译器(javac.exe)编译源文件,得到字节码文件。 3)运行Java程序:使用Java解释器(java.exe)来解释执行字节码文件。
Writing style

A single-line comment uses "//" to indicate the beginning of a single-line comment, that is, the subsequent contents of the line starting with "//" are commented.
Use "/" of a multiline commentto indicate the beginning of the comment, ending with a "/" comment.

Summary

1 The Java language is object-oriented programming, and the software written is independent of the platform.

2 Developing a Java program takes three steps: writing source files, compiling source files
Generate bytecode, load run byte code.

3 Write code Be sure to follow the industry's customary style.

20155327 2017-2018-2 "Java programming" the first week of study summary

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.