The Java(tm) FAQ -- Virtual Machine

Copyright        Table of Contents        Chapters:   1   2   3   4   5   6   7   8   9   10   11

Outline


Virtual Machine


Q3.1
When, and by whom, is the main method of a class invoked?

MainExample.html, SimpleTimer.html

See also: Q1.2, Q1.3


Q3.2
What are bytecodes?

See also: Q3.3


Q3.3
What is javap?

See also: Q3.2


Q3.4
What does it mean to say that Java is interpreted?

See also: Q3.2, Q3.3, JVMS Ch. 4


Q3.5
What kind of garbage collection does the Java Virtual Machine use?

See also: Q1.10, Q2.11


Q3.6
Is finalization broken -- why does my finalize method never seem to get invoked?

See also: Q8.20


Q3.7
I'm having trouble invoking methods on the objects returned from Class's forName method -- how should I use Class.forName?

See also: Q2.9


Q3.8
Why do I get verifier errors when loading a class file produced by javac?

See also: Q3.3


Q3.9
How fast are Java programs compared to equivalent C or C++ programs?

See also: Q3.4, Q11.12