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

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:30
Acomputer is a multipurpose device that accepts input, processes data, stores data, and produces output, all according to a series of stored . the processing unit of most modern computers is a(n) . the instructions that tell a computer how to carry out a task are referred to as computer , which are distributed as software. computers run three main types of software: software, system software, and development tools. an example of system software is a computer system, which is essentially the master controller for all the activities that a digital device performs. digital devices are constructed using tiny electronic components that represent data bits as electrical signals. the system unit houses the system board, which contains several circuits made from semiconducting materials. computers come in three popular form factors: component, , and slate. many of today's digital devices operate on battery power supplied by ion batteries. battery life and lifespan can be extended by following good battery management practices.
Answers: 3
question
Computers and Technology, 22.06.2019 21:30
The salespeople at hyperactive media sales all use laptop computers so they can take data with them on the road. you are a salesperson for superduper lightspeed computers talking to hyperactive media sales about upgrading the laptops to windows 10. explain how network location awareness in windows 10 would make the laptops more secure.
Answers: 3
question
Computers and Technology, 23.06.2019 09:00
Which is the highest level of the hierarchy of needs model? a. humanity b. intrapersonal c. team d. interpersonal
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
List 3 items that were on kens resume that should have been excluded
Answers: 1
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