Your task is to implement a Catalog of Books. 1. For this first you have toimple
ID: 3609953 • Letter: Y
Question
Your task is to implement a Catalog of Books.
1. For this first you have toimplement Bookclass The Book class is a simple class to storeinformation about a particular book and it has the following datamembers:
Write default and parameterized constructors and setters gettersfor the Book class.
2. Catalog class is a linkedlist of Book objects and that can perform the followingfunctionality.
o Add method to add a book inthe Catalog
o printAllBooks method toprint all the books in the Catalog.
o searchByAuthor method willtake author name as an argument and will find a book writtenby that author.
o Available method to printall those books that are currently available. If the status of abook is false than it means that book is not available, if thestatus is true then it means book is available.
3. Include a main function asfollows:
Hint:
Make Nodes of Book type and then linkthem to make Catalog linked list. Itmeans there will be another class between Book and Catalog and thatis BookNodeclass.
Explanation / Answer
Your task is to implement a Catalog of Books. 1. For this first you have toimple
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.