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