Example Programs From CS 330
General Examples
Examples in Various Langauges
Java and C++ Side-by-side Example
As an aid for our exploration of Java while studying inheritance,
I've created a Timer class and a NamedTimer class that inherits from it.
The examples are done in both C++ and Java and can be studied side-by-side.
Students receive(d) paper handouts of most of this code.
This pages have links to the code:
Java class hierarchy and
C++ classes
Life is what happens while you're making other plans. - John Lennon
Beth Katz, katz@cs.millersville.edu