CSC 175 - Assignment #10b

Dr. R. M. Siegfried

Assignment #10b - Expanding Our Basic Class

Due Friday, February 16, 2024

You are going to rewrite a class called Book. It will have the following properties:

All the properties are private.

The class will have the same three constructors (default, conversion and copy, and it will have equals() and toString() as well.

It will also have accessors and mutators for all five properties, as well as a read() method.

As before, write a separate class with a main() method which uses the Book class and make sure that everything works.

[Back to the Assignment Index]