A Crash course in Java

by William Pugh, Univ. of Maryland (pugh at cs.umd.edu)

http://www.cs.umd.edu/~pugh/java/crashCourse

This short course on Java was offered July 30-31, 1998. It was broadcast by National Technology University (NTU) and University of Maryland Instructional Television; copies of the video tape may still be available.

This short course is intended for software engineers and programmers already familiar with writing object oriented C++ code. The course will cover the language in detail, and introduce many of the major class libraries. The 1.1 AWT event model will be covered. The instructor, William Pugh, received a Ph.D. in computer science (with a minor in theater) from Cornell University. In 1991, he received a Presidential Young Investigator and a Packard Fellowship. He is currently an Associate Professor in the computer science department at the University of Maryland, College Park, and is the editor-in-chief of ACM Transactions on Programming Languages and Systems.

There are pointers to a number of Java Resources at: http://www.cs.umd.edu/~pugh/java

Most of the code in the examples here assume Java 1.1. If you don't have a browser that fully supports Java 1.1, you won't have much luck running the Java programs here. Your web browser reports that it using Java version  (Java not supported at all!)

Course Notes

Course notes are either formatted as full-screen slides (for viewing on-line) and as handouts, intended to be printed.

The first two versions of the course notes are not printable and can be used for on-line viewing only. The third version (in handout format), is printable but you must have the password in order to open it. People/organizations registered for the course should receive a copy of the password.

Recommended text books

We'll be using course notes rather than a text book during the course. But I recommend the following books as starter books for people following on with Java:

Programs

The source code for the programs in the handout are available. For the programs that are applets, links to web pages containing the applets are also provided. You can also download a 200K zip file containing all of the java source, html source and class files from this directory.
William Pugh, Dept. of Computer Science, Univ. of Maryland, College Park (pugh at cs.umd.edu)