The process of creating objects

Simply put:
.java source files are compiled by javac (java source code compiler) into .class (bytecode) files, and then the bytecode is loaded into the JVM by the class loader, and then created by the class loader (ClassLoad) Class object, and then new objects needed.

Class loading mechanism

Guess you like

Origin blog.csdn.net/weixin_42118981/article/details/108973673