Java In-depth Solutions
From CompSciWiki
Main_Page > What is Programming?
IntroductionThis section contains the solutions to the review questions from Java In-depth. |
||
Contents
|
OverviewIf you did not answer any of these questions successfully make sure to go back and re-read the material. If you have trouble understanding the material talk to your prof or a TA. |
Template loop detected: Template loop detected:
Solutions
-
- Thinking about how you will code the program.
- Writing the code for the program.
- Compiling the program.
- Running the program.
- This answer can be found in the chapter introduction.
- Your Java source code is passed to the Java compiler. The compiler takes Java source code and generates Java bytecode that can be interpreted by the Java virtual machine.
- This answer can be found in the Java compiler section.
- Advantages:
- Enables Java to be platform independent.
- Makes Java easier to learn, as we don't have to include platform specific code.
- Disadvantages
- Makes programs run slightly slower.
- Does not allow programmers to use platform-specific tools.
- GUI applications will look out of place on most platforms.
- Bugs in the JVM are extremely serious.
- This answer can be found in the JVM section.