A good answer might be:
|
Longer Example ProgramUsually bugs are much more difficult to find than the one in this program. The longer a program is, the more bugs it is likely to have, and the more difficult it is to find them. It is a good idea to practice with short programs where syntax errors and bugs are more easily seen before moving on to longer programs. Here is a somewhat longer example program:
This program should be saved in a file called "Emily.java" and with it the compiler will create a bytecode file called "Emily.class". |
QUESTION 9:What will this program write to the monitor when it is run? Click Here after you have answered the question |