Let’s start by compiling and running the short sample program shown here:
You will follow these three steps:
1. Enter the program.
2. Compile the program.
3. Run the program.
The programs shown in this book are available from McGraw-Hill’s Web site:. However, if you want to enter the programs by hand, you are free to do so. In this case, you must enter the program into your computer using a text editor, not a word processor. Word processors typically store format information along with text. This format information will confuse the Java compiler. If you are using a Windows platform, ...