Java's class loader mechanism

The loading of java classes is completed by the virtual machine. The virtual machine loads the Class file describing the class into the memory, and verifies, parses and initializes the data, and finally forms a java type that can be directly used by the java virtual machine. This is The class loading mechanism of the virtual machine. The specific implementation used to complete the above functions in the JVM is the class loader. The class loader reads the .class bytecode file and converts it into an instance of the java.lang.Class class. Each instance Used to represent a java class. An object of this class can be created through the newInstance() method of the instance.
https://www.cnblogs.com/fingerboy/p/5456371.html

Some scene applications using the classloader feature

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326356879&siteId=291194637