Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:30, Lilabbychichi
Ryan is working on the layout of her web page. she needs to figure out where her header, navigation bar, text, and images should go. what technique can her?
Answers: 1
image
Computers and Technology, 22.06.2019 08:00, luclaymom805
Aplan to budget time for studying and activities is referred to as a study routine. study habits. study skills. a study schedule.
Answers: 1
image
Computers and Technology, 22.06.2019 17:00, smartoa
Annie is creating a corporate report for a company’s annual meeting. in the report, she wants to add the signature of various department heads. which device can annie use to capture signatures to include in the report? a. printer b. monitor c. e-reader d. digitizing tablet
Answers: 1
image
Computers and Technology, 22.06.2019 18:30, lailahussain99
Which of the following is an example of intellectual properly! oa. new version of a novelb. journal of ideasc. pages of a bookood. lines of a poem
Answers: 2
Do you know the correct 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
History, 17.06.2021 16:40
Konu
Mathematics, 17.06.2021 16:40
Konu
Mathematics, 17.06.2021 16:40