What is Static class loading in java ? ?

2008-12-15 8:42 am
tell me please....

回答 (2)

2008-12-15 8:57 am
✔ 最佳答案
Static class loading is 1) the retrieval of a class definition and 2) the instantiation of the object by the class' fully qualified name. For more information, please refer to the URL below:

http://java.sun.com/javase/6/docs/api/java/lang/Class.html#forName(java.lang.String)
2008-12-15 5:02 pm
A practitioner's understanding of the Java platform cannot be considered complete without a solid understanding of the life cycle of a Java reference type (class or interface). The primary processes involved in this life cycle include loading, linking, initialization, and unloading. This paper discusses one of these processes, namely the loading process, in some detail.
Class loading is fundamental to two of the most compelling features of Java: dynamic linking and dynamic extension.

Dynamic linking allows types to be incrementally incorporated into a running JVM. Dynamic extension allows the decision as to which types are loaded into a JVM to be deferred until runtime. This means that an application hosted by the JVM can leverage types that were previously unknown, or perhaps did not even exist, when the application was compiled. Dynamic linking and extension support the notion of runtime assembly of code, a notion of critical importance to server-side containers (e.g. application servers).
----------------------------------------------
Wilma


收錄日期: 2021-05-01 01:07:15
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20081215004241AAqoGCy

檢視 Wayback Machine 備份