A: 009 – the JVM – object finalization mechanism of https://blog.csdn.net/fsjwin/article/details/111344414
Write a Java program
package com.yuhl;
/ * * *@author yuhl
* @Date 2020/12/19 15:01
* @Classname Helloword
* @Description TODO
*/
public class Helloword {
public static void main(String[] args) {
System.out.println("Helloword!"); }}Copy the code
2. Mutate into a class file
3. Up and running
4. Analysis of principle and process
Read the map
Read the map
Read the map
5. To summarize
- Javac command: mutate Java source files into class files
- Java command: To run the class file, you need to load the class file into the runtime data area
- Run: After loading runtime data, there is a compile run, or explain run.
- Java libraries such as java.io,java.lang, etc. are loaded into memory to run the procedure.