Summarize the relationship between superclasses and subclasses..
Summarize the relationship between superclasses and subclasses.
- Summarize the relationship between superclasses and subclasses.
- Develop superclasses and subclasses that implement polymorphism.
- Demonstrate how to declare, create, initialize, and manipulate arrays.
Criterion |
Points |
The application compiles and runs. |
10 |
The application uses an array to store multiple items. |
10 |
The application displays the information about one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, the value of the inventory of that product, and the value of the entire inventory, sorted by the name of the product. |
10 |
The application uses amethod to calculate the value of the entire inventory and another method to sort the array items by the name of the product. |
10 |
The source code is readable and well documented. |
Summarize the relationship between superclasses and subclasses.