Question: Java Design and implement a set of classes that define various types of reading material: books, novels, magazines, technical journals, and textbooks. Include data values
Java
Design and implement a set of classes that define various types of reading material: books, novels, magazines, technical journals, and textbooks.
- Include data values that describe attributes of the material (e.g., number of pages, author(s), publisher, publication date, genre, subject, appropriate ages, fiction, non-fiction, etc.)
- Identify common attributes among the classes to create superclasses, as needed.
- Include appropriate (get/set) methods for each class.
Use the Main class to instantiate and test the methods in the classes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
