Thursday
October 23, 2014

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

programming - Design a class named Book that holds a stock number, author, title...
Design - Design a class named StockTransaction that holds a stock symbol (...
C# - The Peterman Publishing Company has decided that no published book should ...
math - The author of a book was told that he would have to cut the number of ...
Python: Named tuples - I've been trying to print a list of the book titles ...
math - The number of pages in tony's book is the quotient of the number of pages...
PROGRAMMING - design a program for the following. Registration workers at a ...
Python: Creating function - The value of the inventory of a particular book is ...
English - Check all that apply. If you are using parenthetical citation for a ...
alg - the thickness of a book is determined by the thickness of its cover and ...

Search
Members