Wirte in java 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 lay out follows the layout of each datatype. Your program will allow the user to perform two functions. The first function will allow the user will be able 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 stocklD 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 to write the program 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 for the search is not in the array your program will go through an exception Clothing String stockld String displayName int quantityOnHand double price Pants extends Clothing int waistSlze int pantLength Dress extends Clothing int slze Shirt extends Clothing int neckSlze int armLengthLength boolean tall
Wirte in java 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 lay out follows the layout of each datatype. Your program will allow the user to perform two functions. The first function will allow the user will be able 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 stocklD 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 to write the program 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 for the search is not in the array your program will go through an exception Clothing String stockld String displayName int quantityOnHand double price Pants extends Clothing int waistSlze int pantLength Dress extends Clothing int slze Shirt extends Clothing int neckSlze int armLengthLength boolean tall
Chapter9: Using Classes And Objects
Section: Chapter Questions
Problem 1CP: In previous chapters, you have created programs for the Greenville Idol competition. Now create a...
Related questions
Question
Name:- John (Department-1)
Note:- Please type this java code and also need an output for this given Java program.
![S11111
Oxford Button-Down
10 25.00 17 35 R
D66666
Bodycon
12 63.00 18
S22222
Cuban Collar
12 45.00
P12345
Cargo
12 63.00
S33333
Flannel
21 15.00 16 30 R
D55555
Shift Dress
30 45.00 22
S44444
Classic Short Sleeve
15 35.00 20 37 T
D88888
A-Line
18 38.00 16
P45678
Jeans
12 63.00 42 34
P54321
Corduroy
12 63.00 40 32
T or R repent true or false
yes](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F7824f8d0-65fb-442c-84f7-7ea5547717e1%2Fe05e3a8d-613e-4b3c-a0ed-62693e9aec63%2Ftbqlj3f_processed.png&w=3840&q=75)
Transcribed Image Text:S11111
Oxford Button-Down
10 25.00 17 35 R
D66666
Bodycon
12 63.00 18
S22222
Cuban Collar
12 45.00
P12345
Cargo
12 63.00
S33333
Flannel
21 15.00 16 30 R
D55555
Shift Dress
30 45.00 22
S44444
Classic Short Sleeve
15 35.00 20 37 T
D88888
A-Line
18 38.00 16
P45678
Jeans
12 63.00 42 34
P54321
Corduroy
12 63.00 40 32
T or R repent true or false
yes
![Wirte in java
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 lay out follows the layout of each datatype. Your program will allow
the user to perform two functions. The first function will allow the user will be able 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 stocklD 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 to write the program
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 for the search is not in the array your program will go through an exception
Clothing
String stockld
String displayName
int quantityOnHand
double price
Pants extends Clothing
int waistSlze
int pantLength
Dress extends Clothing
int slze
Shirt extends Clothing
int neckSlze
int armLengthLength
boolean tall
texta1.txt](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F7824f8d0-65fb-442c-84f7-7ea5547717e1%2Fe05e3a8d-613e-4b3c-a0ed-62693e9aec63%2F0zc87js_processed.png&w=3840&q=75)
Transcribed Image Text:Wirte in java
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 lay out follows the layout of each datatype. Your program will allow
the user to perform two functions. The first function will allow the user will be able 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 stocklD 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 to write the program
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 for the search is not in the array your program will go through an exception
Clothing
String stockld
String displayName
int quantityOnHand
double price
Pants extends Clothing
int waistSlze
int pantLength
Dress extends Clothing
int slze
Shirt extends Clothing
int neckSlze
int armLengthLength
boolean tall
texta1.txt
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage