1. In-depth analysis of class loaders and delegation mechanisms
The role of the > ClassLoader: A class that appears in a Java file, first to load the class's bytecode into memory, and this class of information is placed in a class file under the classpath of the hard disk,
Loading the contents of the class file into memory, doing some processing, the result of processing is bytecode, this series of work is the class loader is doing.
> Java Virtual machines can install multiple classloader, the system defaults to three main class loaders, each class is responsible for loading a specific location of the class:
Bootstrap,extclassloader, Appclassloader
The > class loader is also a Java class, because the class loader of the Java class is also loaded by the ClassLoader itself, and obviously the first ClassLoader is not a Java class.
This is bootstrap.
The system class is loaded by the Bootstrap class loader
Java high-tech-class loader