Design an application that instantiates an object of each


Problem

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 set and get the values for each data field. Also include a display Info() method that displays each of the Book's data fields with explanations.

b. Design a class named Text Book that is a child class of Book. Include a new data field for the grade level of the book. Override the Book class display Info() method so that you accommodate the new grade-level field.

c. Design an application that instantiates an object of each type and demonstrates all the methods.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Design an application that instantiates an object of each
Reference No:- TGS02648751

Expected delivery within 24 Hours