In this part we will build 1. An API 2. Implement defensive coding mechanisms. 3. Implement data structures to make application scalable 4. Add a
In this part we will build
1. An API
2. Implement defensive coding mechanisms.
3. Implement data structures to make application scalable
4. Add a new feature to make option choices.
Requirements and Approach for Assignment 3 Your first step is to re-implement our current system with the same functionality, but with code that's better designed to handle multiple models. Technical Requirement - Set of Models(Automobile) should be saved using LinkedHashMap. Set of OptionSet in each Model and respective Options can be saved in an ArrayList. In addition, both Automobile and Option Set will need some methods for keeping track of which options, a user has chosen. To try and keep straight which methods are for defining options, and which are for choosing options, I've put Choice in the name of the new methods related to tracking user choices. Here's a UML class diagram for additional things in Automobile: make: String - model: String - optionSet: ArrayList - choice: ArrayList
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance