Difference between revisions of "Java In-depth Solutions"
From CompSciWiki
(created) |
(→Solutions: small typo fixing) |
||
Line 12: | Line 12: | ||
# '''Advantages:''' | # '''Advantages:''' | ||
#*Enables Java to be platform independent. | #*Enables Java to be platform independent. | ||
− | #*Makes Java easier to learn, as we don't have to include platform specific code. | + | #*Makes Java easier to learn, as we don't have to include [[Glossary#platform|platform]] specific code. |
#:;Disadvantages: | #:;Disadvantages: | ||
− | #*Makes programs run slightly | + | #*Makes programs run slightly slower. |
#*Does not allow programmers to use platform-specific tools. | #*Does not allow programmers to use platform-specific tools. | ||
#*GUI applications will look out of place on most platforms. | #*GUI applications will look out of place on most platforms. | ||
#*Bugs in the JVM are extremely serious. | #*Bugs in the JVM are extremely serious. | ||
#:This answer can be found in the [[Compiling_and_the_Java_Virtual_Machine#The Java Virtual Machine|JVM section]]. | #:This answer can be found in the [[Compiling_and_the_Java_Virtual_Machine#The Java Virtual Machine|JVM section]]. |
Latest revision as of 01:25, 10 December 2007
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.