This is an intermediate programming book, written in a tutorial style. it is divided into four main parts, progressively taking the programmer through more difficult programming. It contains numerous examples and concepts are introduced with real-world programs.
Table of Contents:
Part 1 Learning Java's syntax: hello world - the application; data, variables, and the assignment operator; making choices with If; doing arithmetic; looping; processing command line arguments; increment and decrement operators; strings; methods; storing data in arrays; catching exceptions; file I/O and streams. Part 2 Writing Java applets: hello world - the applet; handling events; drawing pictures - lines, circles, rectangles and colours; taking action - threads; interaction - mouse and keyboard input; sounds; more fun with lines; Mondrian - drawing rectangles; drawing text; drawing polygons; painting pictures; making things move. Part 3 Thinking in objects: classes, methods, objects; inheritance; restricting access - public, private, protected; throwing exceptions; defining interfaces. Part 4 Using a Java class library: using the applet window toolkit; other important libraries. Part 5 the road goes on: reading the documentation; finding other information/help.