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:

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!