Question: No UML, and please show the specific code Part I Various publications can be described as follows A PaperPublication class with the following: a title


No UML, and please show the specific code
Part I Various publications can be described as follows A PaperPublication class with the following: a title (String type), price (double type) and number ofpages (int type) A Book is a PaperPublication that in addition has the following: an ISBN (long type), an issue year (int type), and author(s)name (String type) A ChildrenBook is a Book that in addition has the following: minimum age (int type), which indicates the minimum age that this book is expected for. An EducationalBook is a Book that in addition it has the following: edition number (int type) and speciality field (String type), such as pharmaceutical, engineering, commerce, etc A Journal is a PaperPublication that in addition has the following: issue number (int type) and speciality field (String type), such as pharmaceutical, engineering, commerce, etc. A Magazine is a PaperPublication that in addition has the following: paper quality (enumeration type that can be: High, Normal, or Low), and issuing frequency (enumeration type that can be: Weekly, Monthly, or Yearly) Part I Draw a UML representation for the above mentioned classes hierarchy. Your representation must also be accurate in terms of UML representation of the different entities and the relation between them. You must use a software to draw your UML diagrams (no hand-writing/drawing is allowed) 1. 2. Write the implementation of the above mentioned classes using inheritance and according to the specifications and requirements given below You must have 4 different Java packages for the classes. The first package will include the PaperPublication class. The second package will include the Book, ChildrenBook and EducationalBook classes. The third package will include the Journal class and the last package will include the Magazine class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
