Question: You should create a new class called LibraryItem that will be the base class for the inheritance tree. It should contain at least the following

You should create a new class called LibraryItem that will be the base class for the inheritance tree. It should contain at least the following data elements
1. ID #
2. Cost
3.Status (In, out, lost)
4.Loan period(how long it can be checked out for-note this could be 0)
It will also need appropriate accessor and mutator functions. You may also add additional data elements if needed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!