在java代码中,“类型”的加载loading,链接linking,初始化过程都是在运行期间完成的
1,加载(loading)一般指:查找并将类的字节码文件通过类加载器加载到内存中,
还有其他方式加载例如:从网络上加载class;从jar加载class;java源文件动态编译并加载
The Java Virtual Machine dynamically loads, links and initializes classes and interfaces.
java虚拟机动态加载,链接,初始化类和接口类型,
Loading is the process of finding the binary representation of a class or interface type with a particular name and creating a class or interface from that binary representation.
加载是一个发现具有特定名字的类和接口类型的二进制表现和从二进制表示创建类和接口的过程,
Linking is the process of taking a class or interface and combining it into the run-time state of the Java Virtual Machine so that it can be executed.
链接是一个获取类和接口并且把它结合到虚拟机运行时状态被执行的过程。
Initialization of a class or interface consists of executing the class or interface initial