Sunday
August 2, 2015

Homework Help: programming

Posted by hazy on Thursday, September 1, 2011 at 2:42pm.

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.

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.

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Members