Question: 7. Use the class defined in question 6 for the followings: (i) Create a list of 8 objects by using the class defined in question

7. Use the class defined in question 6 for the followings: (i) Create a list of 8 objects by using the class defined in question 6 . Design your code to use all methods explained. (ii) Write a code to display the list of books. Each book should be on a new line with the following order: id, author, title,year (iii) Create a list of author names (at least 5 names) and write a loop to display the book names of each author if that author has any book
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
