Step1-Study the scenario below and create a Java Program for Builders Warehouse, The program must consist of a class called Materials to handle the details of the materials. Step 2-The program should read the materials details from the material.txt file then use a LinkedList to store the material details. Step 3-Then finally the products stored in the LinkedList must be displayed like the sample code below: Step 4-There must be clear  code and a screenshot of the code running.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter6: Managing Multiple Worksheets And Workbooks
Section: Chapter Questions
Problem 22RA
icon
Related questions
Question
100%

Step1-Study the scenario below and create a Java Program for Builders Warehouse, The program must consist of a class called Materials to handle the details of the materials.

Step 2-The program should read the materials details from the material.txt file then use a LinkedList to store the material details.

Step 3-Then finally the products stored in the LinkedList must be displayed like the sample code below:

Step 4-There must be clear  code and a screenshot of the code running.

순순
D
or
Wa
Output -BuildersWarehouseApp (run) x
run:
Builders Warehouse:
ID
Name
Category
BUILD01 Bosch Drill Press Drills Pretoria Central 17000.0
BUILD02 Afrisan Cement Cement Cape Town Central 150.0
BUILD03 Bevel Edged Paving Bricks Bricks Durban 3.1
BUILD04 Premier Galvanised Steel Board Roof Polokwane 350.5
Store
Price
BUILD05 Multipurpose Glazing Putty Class accessories Mafikeng 23.45
BUILD SUCCESSFUL Itotal time: 0 seconds!
Figure 2- LinkedList details
Transcribed Image Text:순순 D or Wa Output -BuildersWarehouseApp (run) x run: Builders Warehouse: ID Name Category BUILD01 Bosch Drill Press Drills Pretoria Central 17000.0 BUILD02 Afrisan Cement Cement Cape Town Central 150.0 BUILD03 Bevel Edged Paving Bricks Bricks Durban 3.1 BUILD04 Premier Galvanised Steel Board Roof Polokwane 350.5 Store Price BUILD05 Multipurpose Glazing Putty Class accessories Mafikeng 23.45 BUILD SUCCESSFUL Itotal time: 0 seconds! Figure 2- LinkedList details
Builders Warehouse is a company with many branches in South Africa. They specialise in selling
building materials. Its branch stores receive stock of building materials on a monthly basis
During stock taking, Builders Warehouse records the following properties per each building material:
(i) Material ID in the format BUILD01
(ii)
Material Name e.g., Bosch Drill Press
(iii) Material Category e.g., Drills
(iv)
Store Location e.g., Pretoria Central
(v) Material Price e.g., R17000
You have been hired as a Graduate Java developer for Builders Warehouse and have been provided
with a text file called materials containing five building materials received by one of the branch's stores.
Below is a screenshot of the text file:
materials txt - Notepad
File Edit Format View Help
BUILD01, Bosch Drill Press, Drills, Pretoria Central, 17000
BUILD02, Afrisam Cement, Cement, Cape Town Central, 150
BUILD03, Bevel Edged Paving Bricks, Bricks, Durban, 3.10
BUILD04, Premier Galvanised Steel Board, Roof, Polokwane, 350.50
BUILD05, Multipurpose Glazing Putty, Glass accessories, Mafikeng, 23.45
UTF-8
Ln 1, Col 1
100% Windows (CRLF)
Figure 1- Materials file
Transcribed Image Text:Builders Warehouse is a company with many branches in South Africa. They specialise in selling building materials. Its branch stores receive stock of building materials on a monthly basis During stock taking, Builders Warehouse records the following properties per each building material: (i) Material ID in the format BUILD01 (ii) Material Name e.g., Bosch Drill Press (iii) Material Category e.g., Drills (iv) Store Location e.g., Pretoria Central (v) Material Price e.g., R17000 You have been hired as a Graduate Java developer for Builders Warehouse and have been provided with a text file called materials containing five building materials received by one of the branch's stores. Below is a screenshot of the text file: materials txt - Notepad File Edit Format View Help BUILD01, Bosch Drill Press, Drills, Pretoria Central, 17000 BUILD02, Afrisam Cement, Cement, Cape Town Central, 150 BUILD03, Bevel Edged Paving Bricks, Bricks, Durban, 3.10 BUILD04, Premier Galvanised Steel Board, Roof, Polokwane, 350.50 BUILD05, Multipurpose Glazing Putty, Glass accessories, Mafikeng, 23.45 UTF-8 Ln 1, Col 1 100% Windows (CRLF) Figure 1- Materials file
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
List
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage