Question: - You have the option to complete the task either as a group or as an individual. This means that you can work on the
- You have the option to complete the task either as a group or as an individual. This means that you can work on the assignment with your classmates or complete it on your own, whichever option suits you best. - If you choose to work in a group, you should make sure to collaborate effectively and ensure that everyone is contributing to this task equally. - In this Lab, we are going to plan out and write a class definition that stores information for a book. Let's say we want to store the following information about this book: The book's name The book's author(s) (a book can have more than one author) The book's publisher The book's ISBN number The book's price - The book's year of publication 1. What is a suitable name for this class? (Pick a name that best describes it). 2. What attributes should this class have? a. Consider the information that needs to be stored and what attribute types you need to create. 3. What methods do you think would be essential for this class? a. Do we need getters/setters? Consider the attributes needed and what operations this class needs to support. Justify briefly each operation chosen. First, answer the following questions before the design: After answering the questions above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
