Home / Expert Answers / Computer Science / q1-draw-the-class-diagram-and-implement-the-code-for-a-set-of-classes-that-define-the-book-in-the-pa488

(Solved): Q1. Draw the class diagram and implement the code for a set of classes that define the Book in the ...



student submitted image, transcription available below
Q1. Draw the class diagram and implement the code for a set of classes that define the Book in the Library: Author, Name of the book, and Publisher. Take into your account that: (4 marks) a. Every Book has an book id, book name, author id, Author name, Publisher Name, Year of publication and number of pages. Users of the class should be able to display information about the different Books. b. The Author has a ranking (National Author, Junior Author, International and Senior author, etc.), and a subject. Users of the class can set and get the ranking of the Author as well as the subject. c. The publisher has a position (National, international ) Users of the class can set and get the position of the publisher . d. In the main method, create objects of the different classes and display their information.


We have an Answer from Expert

View Expert Answer

Expert Answer



Here is the cla...
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe