Question: The laundry also does alterations on items brought in for cleaning, and an AlterationOrder class will be used to keep track of alteration orders. An
The laundry also does alterations on items brought in for cleaning, and an AlterationOrder class will be used to keep track of alteration orders. An AlterationOrder is a LaundryOrder with the following additional properties:
- An AlterationOrder includes a string that specifies what is to be done (instructions).
- Alterations are performed on only one item, therefore the number of items is always 1.
- The alteration instructions can be accessed but not modified.
Write a complete declaration for the AlterationOrder class below:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
