Question: Use object-oriented design to design a parent class called Book that will receive the ISBN, author, title and price of a book, and select and

Use object-oriented design to design a parent class called Book that will receive the ISBN, author, title and price of a book, and select and print records for al books with a price of more than $50.00. Design a child class called TextBook that will use the existing methods of its parent class and receive an extra data field called grade that can be a number from 0 to 12. This class is to select and print records of all textbooks of grades 3 to 6. Design another child class called PictureBook that will use the existing methods of its parent class and receive an extra data field called age that can be a number from 0 to 5. This class is to select and print records of all picture books for ages 3 to 4. Design the class table and UML diagram Write an algorithm for each operation Write a test or driver algorithm to test the solution

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!