Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A local library needs a program that can manage data on the books that they have available. You choose to apply Object Oriented Programming techniques

A local library needs a program that can manage data on the books that they have available. You choose to apply Object Oriented Programming techniques to design a class that can be used to store data on books. The library has indicated that the information they need to store are the following:
1. The book title
2. The book author(s)
a. Think about how multiple authors can be stored.
3. The book publisher
4. The book ISBN number
5. The year the book was published
In addition, the library wants this system to track who checks in/out books at the library. The class should be able to store who has the book checked out currently, the date when it was checked out, when it is expected back. Additionally, if the book is overdue, (I.e., still checked out after the expected return date), the book class should calculate and return the overdue charges as of the current date.
Note that we are NOT writing the code for this class in this activity. Instead, you will create a UML table that expresses the design of this class. You will also describe the purpose of each class member (attributes and methods) in the same document. The UML table should be based on the table described in the slides on Object Oriented Programming.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions