This directory contains the postscript for the chapter describing the solitare application written in Java. The purpose of this chapter (and program) is to illustrate the power of inheritance as a technique for software reuse and customization.
The program was originally written in C++ in the first edition of my OOP book, and rewritten in Java for the second edition. The version given here is a revision of the Java version, now using features of the language from the 1.1 revision.
The source consists of three files:
So far, this has only been written as an application. (An applet version in Java 1.0.2 was described in the 2nd edition of the OOP book). I'm thinking that later I may describe how to write it in either form.