Think about the type of constructors required by each class and implement them accordingly. This will not be the final version of the classes, they may have to be be modified again.
Implement an equals() method on the Item and Product classes. Think about equality for the objects of these classes, what does it mean? Whatever you decide, implement it.
Starting Point - v03 | Starting Point - v03 | ||
---|---|---|---|
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
| |||
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|