subject

You have been asked by a fashion company to create a program which will read a file of their clothing inventory. The data file contains varied inventory items. The first character of the stockID field tells you which data class the item is of. The file layout follows the layout of each datatype. Your program will allow the user to perform two functions. The first function will allow the user to produce a report displaying the contents of the file you read. The second function will allow the user to search for an item by the stockID and let the user know the full description of the item and how many items are in stock. Your program will allow the user to perform two functions:
1. The first function will allow the user to produce a report displaying the contents of the file you read. Each detail line must report all of the day for the specific clothing type.
2. The second function will allow the user to search for an item by the stockID and let the user know the full description of the item and how many of the items are in stock
The IT department has given you the following parameters for the programs
1. Clothing is an abstract class
2. Your data must be stored in a polymorphic array
3. Your search routine must be recursive
4. If the item the user has entered is not in the array, your program will throw an exception
Use the following layout to create your UML and classes:
Clothing
String stockId
String displayName
int quantityOnHand
double price
Pants extends Clothing
int waistSIze
int pantLength
Dress extends Clothing
int sIze
Shirt extends Clothing
int neckSIze
int armLength
boolean tall

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:30, juliannxkim
Which group on the home tab allows you to add shapes to a powerpoint slide?
Answers: 1
image
Computers and Technology, 22.06.2019 06:30, westjayson69
Requirement types discussed during software development include functional and color scheme nonfunctional and code style constraint and nonfunctional fashionable and functional.
Answers: 2
image
Computers and Technology, 22.06.2019 06:50, phillipfruge3
Match the personality traits with their description
Answers: 1
image
Computers and Technology, 22.06.2019 09:40, vanessacasillas452
In the lab, which of the following displayed a list of all installed services and included a description of the service, the current state, and whether the service started automatically or manually? a. the services manager b. the applications summary c. the recommended services d. list the safe services list
Answers: 2
You know the right answer?
You have been asked by a fashion company to create a program which will read a file of their clothin...

Questions in other subjects:

Konu
Mathematics, 21.02.2021 01:00
Konu
Biology, 21.02.2021 01:00