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, 22.06.2019 23:50
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
How do you set up a slide show to play continuously, advancing through all the slides without requiring your interaction? a. click set up slide show, and then select the loop continuously until ‘esc' and show without narration options. b. click set up slide show, and then select the loop continuously until ‘esc' and use timings, if present options. c. click set up slide show, and then select the show presenter view and use timings, if present options. d. click set up slide show, and then select the show without animation and browsed at a kiosk (full screen) options.
Answers: 3
question
Computers and Technology, 23.06.2019 02:00
Which software would you use to create a print design? a. illustrator b. audacity c. reaper d. dreamweaver
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
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, 27.12.2019 00:31
Questions on the website: 13722367