Lab 7: constructors and Methods


For the lab today you must create some method for the class Book.

The given java file include the class Book and a driver class for it. You should read comment in the driver method carefully. BookDriver.java

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.

Tips:

You may want to use "Source"->"Generate getter and setter" to create get and set method automatically.

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.