next up previous
Next: Lab Exercise 2: Modifying Up: In the Laboratory: Feeding Previous: Problem Statement

Lab Exercise 1: Editing, Compiling, and Running

Download the CyberPet.java and the TestCyberPet.java source files. Compile and run the program, which corresponds to the programs developed in this chapter.

For each of the items below, make the editing change and then recompile the program. Make note of any error messages that are generated by the compiler. Try to understand what the message is telling you, and try to learn from the error, so it will be less likely to occur next time. After you have finished with that error, restore the code to its original form and move on to the next item.


next up previous
Next: Lab Exercise 2: Modifying Up: In the Laboratory: Feeding Previous: Problem Statement
Ralph Morelli {Faculty}
12/22/1999