revised: 01/18/99, 01/29/2000, 01/13/2006, 08/03/2009, 07/10/2011, 10/25/2017

go to home page   go to next page hear noise

CHAPTER 7 (Optional) — Running Example Programs in Windows

Chapter Topics:

These web notes include many example programs. Run them and play with them. To learn programming, fiddle around with example programs and then write some of your own. This chapter shows how to do this in a bare-bones Windows enviroment.

This chapter repeats some of what was in the previous chapters but with additional detail. If you don't need the detail, skip the chapter.

You don't have to type in the programs to run them. If you can see the program in a browser window, then you can easily copy the program to Notepad (or other editor) and then save it to a file. Once that is done, you can compile and run the program as described in the previous chapter.

There are many ways to create, compile, and run Java programs. This chapter shows just one way to do this.


QUESTION 1:

Is it sometimes beneficial to type in a program rather than just copying it?


go to home page   go to next page