You may download the .jar file for
this week's lab by typing this command at the Unix prompt:
cp ~csx/public_html/lab2.jar .
Notice the command ends with jar SPACE DOT
The primary purpose of this lab is to give you first hand experience developing classes using inheritance. You will work with two different class hierarchies. In both, you will use an abstract class to create several new classes and then write a simple program that uses polymorphism.
Note: Some parts of the manual pages will not make much sense to you, but most of it should. You want to become familiar with not only these particular commands, but with manual pages in general: the kinds of information they contain, the order and manner in which it is presented, etc.
| In-lab participation | 3 |
| Lab Activity 1 | 4 |
| Lab Activity 2 | 7 |
| Lab Activity 3 | 7 |
| Lab Activity 4 | 9 |
| Total | 30 points |