Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

VehicleFactoryMain will use these classes to make a random number and assortment of vehicle types. For example: Car - red, 1 5 2 4 Kg

VehicleFactoryMain will use these classes to make a random number and assortment of vehicle types.
For example:
Car - red, 1524Kg,1988Kg,1001Kg, gas, 4-wheels, 2-doors, fastback.
Balloon - orange,320Kg,423Kg,256Kg, gas, 950m, hot air.
For the various ranges, altitudes, and weights set a max and min value and randomly choose between those.
For values that have types (hot-air, hydrogen, helium or gas, electric, diesel, kerosene, methane,none) make a static array in the class and randomly choose one of the values.
Have the factory select a random number between 2-5 inclusive for each type of vehicle.
It will then generate many randomized versions of one of the types of vehicles.
Repeat this process for all 4 types of vehicles and store all of them in an 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

Step: 3

blur-text-image

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 Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago