This preview shows page 1. Sign up to view the full content.
Unformatted text preview: size of the cropped portion. (c) define the appropriate get and set methods for each instance variable. For the Item class, create instance methods: (a) “subtotal” that calculates the subtotal for an item. (b) “display” that displays the information on an item. For the Order class, create instance methods: (a) “total” that calculates the total for the item and shipping. (b) “display” that displays the relevant information (HINT: use the “display” method in the Item class.) In a separate Demonstrate class, show off what every method and every constructor in your code. This homework presents one of many ways to organize the information in a one-item order for Patronas Posters. Please suggest another way to organize the information. Use the class diagrams introduced in your lectures to describe your proposal. E.C. 12 Sep 2003...
View Full Document
This note was uploaded on 02/01/2009 for the course ISE 582 taught by Professor Chew during the Fall '03 term at USC.
- Fall '03