Running Example Programs
11. End of the Chapter
Answer
Once it was classified as a planet, and the program was correct.
Now, it is not, and the program is not correct.
End of the Chapter
It may seem strange that a correctly written program can become buggy without being altered. But this is actually common. Circumstances external to a program often change, so the program must be revised. Much of what professional programmers do is program maintainance: keeping programs up to date with changing requirements.
You have reached the end of the chapter. If you are unclear about it, take a break, and then try again. Or find a friend that knows how to do this, perhaps the same friend you annoyed at the end of the previous chapter. This stuff is much easier after you've done it a few times.
You may wish to review the following. Click on a subject that interests you to go to where it was discussed.
- how to compile and run Outline of the method.
- step 1 Step 1: Start Windows Explorer
- step 2 Step 2: Navigate
- step 3 Step 3: Start a command window and Notepad
- step 4 Step 4: Copy the program
- step 5 Step 5: Paste into Notepad.
- step 6 Step 6: Save the Source File.
- step 7 Step 7: Compile and Run the Program.
The next chapter will discuss the beginning elements of the Java language (at last!).