1.jdk:java Development Kit. Is the core of Java! This includes the Java Runtime Environment, Java tools, and Java-based class libraries (Java APIs).
2.java development is divided into: J2se,j2ee,j2me J2SE: Standard Edition, Java EE: Enterprise Edition, J2ME: Mobile version
3.jre:java Runtime Environment (Java Runtime envirnment), Java Platform! All Java programs must be in the JRE environment to run!
Contains the core class library of Jvm,java! But does not include the development tool----compiler, debugger!
4.JVM: (Java virtial mechinal) Java Virtual Machine, part of the JRE! Java is a cross-platform, JVM-based.
5.java source files. java file----------> compiled files are. class files
Comments in 6.java are divided into: document comments, multiline comments, single-line comments. Purpose of the note: 1. Easy to read by the team 2. Facilitates maintenance of the project later
7.01.public: Access class: Classes class name must match the file name. 02. "{}" curly braces must appear in pairs
8. Small example:
Package Cn.bdqn.test//This is a bag
/**
* This is a multi-line comment
* This is my first Java program
* @author Su Yichi
**/
Single-line Comment Java program entry
public static void Main (string[] args) {
SYSTEM.OUT.PRINTLN ("Hello! Java! "); Output statement
}
Java Fundamentals 01