Complete the following tasks: a. Design a class named Book that holds a stock number, author, title, price, and number of pages for a book.

8. Complete the following tasks: a. Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include methods to get and set the values for each data field. b. Design an application that declares two Book objects and sets and displays their values. c. Design an application that declares an array of 10 Books. Prompt the user for data for each of the Books, and then display all the values. d. DesignaclassnamedTextBookthatisachildclassofBook.Includeanewdata field for the grade level of the book. Add get and set methods for the new field. e. Design an application that instantiates a Book and a TextBook and demonstrates all the methods of each cla

"Looking for a Similar Assignment? Order now and Get a Discount!

Place New Order
It's Free, Fast & Safe

"Looking for a Similar Assignment? Order now and Get a Discount!

Hey, wait!You Don't want to miss this offer!

Before you go, let us offer you a 20% discount coupon for your next purchase.