Purchase Solution

Creating a Java Inventory Program

Not what you're looking for?

Ask Custom Question

I have been collecting golf balls from different courses over the years now. Of right now I have an inventory of over 200 golf balls from different courses. Each golf ball has its own logo (golf course name)
My project is to create an inventory of my golf balls; can some one help me with this project?

The product is golf balls and the price for each ball is $2

? Create a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit.

? Create a Java application that displays the product number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory (the number of units in stock multiplied by the price of each unit).....etc.

Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory of that product. In addition, the output should display the value of the entire inventory.

? Create a method to calculate the value of the entire inventory.

? Create another method to sort the array items by the name of the product.

You may use the golf ball as the project or pick something that is easier for you.

Purchase this Solution

Solution Summary

A Java Inventory Program is shown.

Purchase this Solution


Free BrainMass Quizzes
Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic Networking Questions

This quiz consists of some basic networking questions.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

C# variables and classes

This quiz contains questions about C# classes and variables.