Saved searches
Cancel Create saved search
Sign up Reseting focus
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
u1gp2 Exercise 14-1 Modify the Product Manager application #4
rbiesser opened this issue Jun 19, 2020 · 0 comments
u1gp2 Exercise 14-1 Modify the Product Manager application #4
rbiesser opened this issue Jun 19, 2020 · 0 comments
Comments
rbiesser commented Jun 19, 2020 •
- Modify the constructor for the Category class so that it has zero parameters and sets the properties to default values.
- Modify all code in the application that creates a Category object so it uses the set methods to set the data in the object.
- Modify the constructor for the Product class so it has zero parameters and sets all properties to default values.
- Modify all code in the application that creates a Product object so it uses the set methods to set the data in the object.
- Test this application by adding and deleting a product.
Use regular methods instead of static methods
- Modify the CategoryDB class so it uses regular methods instead of static methods.
- Modify all code that uses the CategoryDB class so it creates a CategoryDB object and calls regular methods from that object.
- Modify the ProductDB class so it uses regular methods instead of static methods.
- Modify all code that uses the ProductDB class so it creates a ProductDB object and calls regular methods from that object.
- Test this application by adding and deleting a product.
The text was updated successfully, but these errors were encountered: