subject

ate two classes, one called Inventory and one called Books that is a subclass of Inventory. Include a constructor in Inventory that will initialize a title and description of books. Include a method called inventoryCheck() to verify if another title exists for any new book that wishes to be added into inventory. An example maybe a new author has a title that already exists in inventory therefore you would not allow that to be added to your inventory. Include for your Books class a constructor allowing for the author's name to be initialized. Also, for your Books class, include a method that allows the user to view a list of all the authors. •Include, in your main program, the following logic:Initialize 3 Books objects with 3 books of your choice and include a title, description and author's name for each Books object.•Test your program as follows:Prompt for a book title to be checked against your current inventory. If the book title does not exist, then add the new title, author and its description to your Inventory class. If the title does exist in Inventory, then state a message that the title exists and cannot be added to the inventory. Run your completed application twice and show an example of

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 15:30
Which of the following is step 5 to the mail merge process
Answers: 3
question
Computers and Technology, 22.06.2019 16:30
Technician a says that a dry sump system uses no oil storage sump under the engine. technician b says that a wet sump system uses no oil storage sump under the engine. who is correct?
Answers: 3
question
Computers and Technology, 24.06.2019 01:30
How can you make your column headings stand out?
Answers: 1
question
Computers and Technology, 24.06.2019 06:50
What are the things you are considering before uploading photos on social media?
Answers: 1
You know the right answer?
ate two classes, one called Inventory and one called Books that is a subclass of Inventory. Include...
Questions
question
Mathematics, 21.07.2021 01:40
question
Mathematics, 21.07.2021 01:40
question
Mathematics, 21.07.2021 01:40
question
English, 21.07.2021 01:40
question
English, 21.07.2021 01:40