May 2003
Intermediate to advanced
384 pages
9h 37m
English
When a class loader loads Java software components, the smallest component unit is a class. A class is defined in a machine-independent binary representation called the class file format [74]. The representation of an individual class is called a class file, even though it need not be stored in an actual file. Typically, a class is in a file created as the result of compiling the source code for the class. A class file may contain bytecode, as well as symbolic references to fields, methods, and names of other classes. An example of a class is a class C declared as follows:
class C {
void f() {
D d = new D();
...
}
}
The class file representing C contains a symbolic reference to class D. The ...
Read now
Unlock full access