Load the class file from the hard disk in memory through the ClassLoader
JVM Virtual machine Process system.exit () End Java Virtual machine
Three steps to load, connect, initialize a connection to a class: Validate: Ensure the correctness of the loaded class (the user's own maliciously generated class file) is prepared: allocates memory for the static variables of the class and initializes it to the default value initialization: assigns the correct initial value to the static variable of the class (the correct initial value of the user-assigned value)
Java programs use classes in two ways: active use: Passive use of new read-write static variables
Proxy dynamically generates classes, specifies class loaders, loads the generated classes into memory
Initializing classes for active use of classes
Delegate parent Load
Local methods: Interacting with the operating system or focused on efficiency, written in other languages, Java methods are platform-independent, but local methods are not, and local methods are used to lose program portability
Java Virtual machine