Work on this exercise EITHER by yourself, OR with a partner, using pair programming.
GoalsThe goals of this exercise are to apply and hence reinforce your understanding of:
|
Grading rubricYou start with 100 points. For each of the features listed below that is missing or implemented incorrectly, you lose 20 points.
Required features:
|
|
The following links/information may be helpful in doing this project:
|
public abstract class Vehicle {
public enum DIRECTION {
/**
* Vehicle faces LEFT.
*/
LEFT,
/**
* Vehicle faces RIGHT.
*/
RIGHT
}
...
protected Vehicle.DIRECTION direction;
...
if (this.direction.equals(Vehicle.DIRECTION.RIGHT) {
...
}
}
|
|
You will design and implement an application that has all the functionality suggested by the picture to the right and described in the Specification below.
|
|
Checkout the CarsTrucksTrains project that we put in your individual repository.
Your instructor will have demonstrated a completed CarsTrucksTrains project. Read the Specification below. Ask questions as needed.
With your instructor, review the UML class diagram that you developed in whole-class discussion.
Implement your project per your Iterative Enhancement Plan and using documented stubs.