Database of the inventory of the products

Assignment Help JAVA Programming
Reference no: EM131585729

Assignment

Purpose of Assignment To help you to:

(a) Understand the concepts cohesion, and how it can be used to decompose problem definition into separate components (classes).

(b) Understand t and coupling and how it is used to assemble the components (classes) into complete programs.

The establishment called ABC Enterprise requires a Java program to keep a database of the inventory of the products that it sells. Each product is identified by its manufacturer, its name, the quantity, and unit price. Note: a manufacturer is characterized by its company's name and address

In addition to storing the information, the program should be able to make updates to the quantity and/or the price as time goes on. That is, when a sale is made, the quantity of that product must be reduced; similarly, when a product is re-ordered, the quantity of that product must be increased. Also, when there is a change in the price of a product, the price must be changed. The change must be interpreted as a replacement of the value. New products may be added to the inventory at any time; also, a product may be removed from the inventory at any time. Maintain a separate list the products that have been deleted from the database of active products.

Your program must be able to produce three kinds of reports, namely:

(a) Locate a single product and display its name, price and quantity alone.

(b) The inventory report should be structured as follows:

Product Purchase Date Quantity Price Manufacturer State
Telephone 01/20/2013 10 254.99 Motorola FL
Computer 01/06/2013 15 756.99 CBS NY
: : : : : :
: : : : : :

(c) A list of the deleted products should be structured as follows:
Product Date Manufacturer
Paper reams 01/20/2013 Morgan Jewelry
: : :

In your design, convince yourself that you need a minimum of four classes, not including the test class

- Product, Manufacturer, Address, and Database. You may use the class called GetData.java, Listing 1.6 (in the textbook), for inputting the data. Use a scrollable panes to display your output.

Reference no: EM131585729

Questions Cloud

Attempt to embed the petersen graph on the torus : Attempt to embed K5 on the torus. Is it possible?
Discuss the context of normative social influence : Describe an instance in your life when you were persuaded to adopt or reject group norms
Draw a few graphs on copies of the torus : For which m,n is Km,n planar and for which m,n is Km,n non planar? Make and prove a conjecture.
Correctly priced-overpriced or underpriced : Firm K’s shares sell today for $45. It is forecast that the share price will be $51 at end of one year. Is firm K correctly priced, overpriced or underpriced.
Database of the inventory of the products : COP3804 - Locate a single product and display its name, price and quantity alone -
Calculate the expected dividends for years : Company A has just paid a dividend (D0) of $1.50. Calculate the expected dividends for years 1 through 5.
Shares sell at the expected price : How much will the company receive if all shares sell at the expected price?
Information about various diseases : Go to the National Guideline Clearinghouse Website found at: guidelines.gov to locate information about various diseases.
Opportunities for marketers and consumers : Co-branding can be highly creative and may offer extraordinary opportunities for marketers and consumers alike.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd