Running Example Programs

This chapter provides step-by-step instructions of writing a Java program using a text editor, and then compiling and running this program from command prompt. Several Integrated Development Environments (IDEs) are mentioned in this chapter. We have already installed NetBeans. That and Eclipse are the most popular in Java professional practice.

11. End of the Chapter


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.

The next chapter will discuss the beginning elements of the Java language (at last!).