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

  Explain how a borderlayout manages its display area

Write a Java statement to make the window associated with the object from question 1 visible. Explain how a BorderLayout manages its display area. Explain how a FlowLayout manages its display area

  Information from the user and prints a payroll statement

Write a program that accepts the following information from the user and prints a payroll statement

  Write program in java that solves system of linear equations

Write a program in java that solves system of linear equations. Users should be able to input the number of variables.

  Each instance of this class will represent one book a book

each instance of this class will represent one book. a book consists of the title of the book a string and the authors.

  Create a servlet to display a table

NetBeans for Java with GlassFish/Tomcat: https://netbeans.org/downloads/ (select All option)) and create a servlet to display a table that contains factorials for the numbers from 0 to 10, as shown

  Create program perform error-checking on the initial values

Create a program called Date.java to perform error-checking on the initial values, for instance: fields month, day, and year. Also, provide a method nextDay() to increment the day by one.

  Application for an animal-fur trimming service

Create an application for an animal-fur trimming service. Write the code for the application. Prompt the user to indicate how many animals. Display the total fee for one year. Be pleasant in your output as it will be expensive.

  What are issues that may arise while using the if statement

What are the issues that may arise while using the IF statement and The three basic types of loops are the FOR loop

  Java application prompt user to put in integer from keyboard

Write a java application that performs the following task: prompt user to put in an integer from the keyboard, search for the user input from the array created in step 1.

  Java socket hello i need to this assignment done in net

hello i need to this assignment done in net beans . and i want comment in code .also screen shots of running program

  Prepare a program to triple each number in the list

Write a program that will read in a list of numbers, triple each number in the list and print the result - Write a program that will read in 2 numbers per line, and print the sum.

  The goal is to create a project that would let a user

the goal is to create a project that would let a user compute area and perimeter of a polygon. restrict the type of

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