Design a class named book that holds a stock number


Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include a method that sets all the data files and another that prints the values for each data field. Create the class diagram and write the pseudocode that defines the class.
Then: Design a class named TextBook that is a child class of Book. Include a new data field for the grade level of the book. Override the Book class methods that set and print the data so that you accommodate the new grade-level field. Create the class diagram and write the pseudocode that defines the class.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Design a class named book that holds a stock number
Reference No:- TGS0106676

Expected delivery within 24 Hours