Computer Lab #1

This lab illustrates the following concepts:

Some useful links:

Java documentation

UW library documentation

for unit testing:

with JUnit 3: a must read

with JUnit 4: tutorial 1, tutorial 2

JUnit documentation


I Using an interface

1st example (with unit testing):

2nd example:

3rd example:

4th example:


II Class inheritance

First example:

Second example:


To check if your name is on the server list, turn in this program as if it were your homework. This is not the official homework turn-in. This is just a test to see if the server knows about you.