Computer Science 124:
Introduction to Programming
Using Java
Winter 1998


WELCOME TO the on-line textbook for Computer Science 124: Introductory Programming, a course that was taught in the Winter term of 1998, at Hobart and William Smith Colleges by me (David Eck, email: eck@hws.edu). The course was an introduction to the theory and techniques of programming, using Java as the language of instruction, with no prerequisites. Note that it is programming, rather than Java itself, that is the main point of CPSC 124. If you want to learn more about the course, see its information page. (Also, you might take a look at The Most Complex Machine, a textbook I've written that serves as an introductory survey of computer science.)

Please feel free to copy these notes and redistribute them, as long as you do not claim credit for them, or sell them without my permission.

Note: If you are interested in downloading this on-line text for use on your own computer, see the links at the bottom of this page.

You might want to look at the labs that I used in the course. These are available separately for download.

A "second edition" of this text, covering Java 1.1 instead of Java 1.0, is now available for downloading and for use online. Please see that version, at http://math.hws.edu/eck/cs124/notes/


Chapter Links:


Also Available:


Downloading:

If you would like to have a copy of the original version of the on-line text on your own computer, instead of reading it over the Net, you can download one of the following compressed archives. (You are also welcome to post an unmodified copy on your Web server, as long you are aren't charging anything for it.) I assume that you know how to decompress and use the archive once you have downloaded it. You can download an archive appropriate for your computer by following one of these links: