Java Reference
In-Depth Information
Answers to Review Questions
1.
The three editions of the Java 2 platform are J2ME, J2SE, and J2EE.
2.
Compiled Java code is bytecode.
3.
The answer is object. Classes describe objects.
4.
The answer is class. You write a class to define an object, and an instance of the class
is an object.
5.
public static void main(String [] args). The only term you can change is “args”; other-
wise, main() must look like this.
6.
No, you do not need to recompile Java code for different platforms because Java only
runs on one platform—a Java Virtual Machine implementation.
7.
Attributes and behaviors, also referred to as fields and methods.
8.
JIT stands for Just-In-Time and refers to a JVM that compiles portions of the bytecode
of a Java program into native code when the program is executed.
Search WWH ::




Custom Search