Study notes-JavaEE Review National Day holiday
One, class loader
1.1 what is a classloader and what is its purpose?
A self-written Java code source file, the process of running is mainly divided into three stages.
The first stage: the SOURCE level, that is, the source phase, has finished writing the code and has not yet been compiled and run
The second stage: the CLASS level, the bytecode phase, is compiled after the code has been written.
The third stage, the RUNTIME level, is the stage in which the written source code is compiled into bytecode and called into JDK runtime memory by the class loader.
The function of the class loader is to call the bytecode object to jdk running memory and generate the corresponding bytecode object