Introduction
This lab has several goals:
- To write a simple class.
- To expose you to the style of documentation used for classes in the Java library.
- To encourage experimenting with programming in Java.
- To help you interpret Java's runtime error messages.
- To illustrate how classes interact and the importance of conforming to a specification.
Before you write any code, create a new project named project2
in your Eclipse workspace. Within it, create a package lab2
.
Consult the previous lab for a reminder on how to do this.
Then, go ahead and download the sample code and put it in your lab2
package.