Lab 9: Classes II


In lab today we will again work on Classes.

We will supply a Book class to them and some driver code, similar to the solution from last week's lab.

Last lab's solution: Book.java BookDriver.java

The instance variables should all be private.

Be sure to comment out sections of code that don't work before you turn in your solution, since you get no points if your program doesn't compile.

About the Submission:

1. You must work in pairs. Only one of you need to submit the program to Blackboard.
2. Names of both partners should be on top of the java files submitted. Make sure to write your name and netID's in the Submission notes as well.
3. Submit the assignment in the appropriate folder on the blackboard.
4. Submission for the lab assignment will close 10 minutes after the respective lab end time.

Solution:

Book.java

BookDriver.java