Question
The Clayton State University Library has many items available for its students; some can be checked out and others cannot. Among those that can be
The Clayton State University Library has many items available for its students; some can be checked out and others cannot. Among those that can be checked out are journal (i.e., a literary journal) and book (i.e., a fiction or nonfiction book). These two types have many attributes in common such as title, publisher, and dewey decimal classification. Design a class to represent the library item that would capture the common features among journals and books.
1. design journal and book classes that are derived from the library item base class.
2. draw a UML class diagram depicting the classes
*The library item class does not need more attributes (use the ones provided), you should add at least 2 methods to the class. The journal and book classes should have at least 3 attributes and at least 2 methods.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started