Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions