Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Java language. NOTE2: The Bicycle Parts Distributorship project specifications use the term database as a general description of the underlying data that must be

Use Java language. image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
NOTE2: The Bicycle Parts Distributorship project specifications use the term database as a general description of the underlying data that must be persistent across executions of your program. To satisfy the persistent requirement, your database will have to be a file (or files) that your program reads/writes. You are not expected to create an SQL or NOSQL database. Introduction You ar a programmer working for Bicycle Parts Distributorship. BPD has a warchouse full of bicycle parts. Each bicyele part has the following attributes. Part name - example names are spoke, saddle, brake pads, and tires Part number - a part number is a 10-digit number . List price - this is what the part costs normally . Sale price this is what the part costs when on sale .On-sale-When this is false, the list price applies, otherwise the sale prige applies In addition to the bicycle parts attributes, the warehouse has an attribute (for each bike part) indicating the number of parts in its inventory Quantity- this is the number of parts that Bicycle Parts Distributorship has in its warehouse. You shall write a program that maintains an inventory of bicycle parts and allows sales associates to sell bicycle parts. Warehouse Inventory Update When inventory is delivered to the warehouse, it is accompanied by a text file describing parts in the delivery. The database of parts in the warehouse is created and updat separated lines. Each line describes the attributes of a specific auto part. Th provided in the Introduction section in the following order. ed by reading the inventory delivery file. The file consists of a sequence of comma- e attributes on each line of the file match those partName, partNumber, 1istPrice,salePrice,onSale,quantity The quantity indicates the number o parts in the delivery. The following is an example inventory update file. The quantity indicates the number of parts in the delivery. The following is an example invent ory update file. WTB saddle, 1234567890, 33.00,25.58, false, 25 26inTube,1234567891,7.00,5.58, true,25

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

(4) C (U + 2102), the set of complex numbers; and Pg45

Answered: 1 week ago

Question

Understanding Groups

Answered: 1 week ago