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
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Name:- John (Department-1)
Note:- Please type this java code and also need an output for this given Java program.
Expert Solution
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
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
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education