Content deleted Content added
Naviguessor (talk | contribs) |
"once" does not mean "once and only once" here at all. There is no obligation to load every class. |
||
Line 8:
A [[Library (computing)|software library]] is a collection of related [[object code]].
In the [[Java language]], libraries are typically packaged in [[jar-file|Jar files]]. Libraries can contain objects of different types. The most important type of object contained in a Jar file is a [[Java class]]. A class can be thought of as a named unit of code. The class loader is responsible for locating libraries, reading their contents, and loading the classes contained within the libraries. This loading is typically done "on demand", in that it does not occur until the class is actually used by the program. A class with a given name can only be loaded
Each Java class must be loaded by a class loader.<ref name="Christudas">{{cite web
|