Preview

Java Inventory Program 1-3 Essay Example

Good Essays
Open Document
Open Document
1555 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Java Inventory Program 1-3 Essay Example
Instructions: This document contains the tutorials for Inventory programs 1-3. These programs will be separated by pages between each program in addition to being color coded. NOTE: This information will need to be copy and pasted into a notepad document. For your own benefit, please do not plagiarize this work.

// Inventory program part 1 Inventory1.java
//
// A product class that stores and makes the name of the product, the item number, the number of units in stock, and the price of each unit retrievable.
// Java app. that displays the product name, the item number, price of each unit, and the value of inventory.

import java.util.Scanner; import java.text.NumberFormat; import java.text.DecimalFormat;

class Product

{

private String name; // product name private int number; // product part number private double price; // product unit price private int quantity; // products in stock

public Product(String N, int Num, double P, int Q) // Constructor { name = N; number = Num; price = P; quantity = Q; }

// Getters and setters public void setName(String N) // method to set product name { name = N; }

public String getName() // method to get product name { return name; }

public void setNumber(int Num) // method to set part number { number = Num; }

public int getNumber() // method to get part number { return number; }

public void setPrice(double P) // method to set unit price { price = P; }

public double getPrice() // method to get unit price { return price; }

public void setQuantity(int Q) // method to set product quantity { quantity = Q; }

public int getQuantity() // method to get product quantity { return quantity; }

public double getTotalPrice() // return the total value of the inventory { double TotalPrice = quantity * price; return TotalPrice; }

} // End class product

public class Inventory1
{

//

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Pt1420 Unit 6 Programming

    • 420 Words
    • 5 Pages

    print (” These are not primary colors . I can ’ t mix them !”)…

    • 420 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    IT215 INVENTORY PART DVD

    • 302 Words
    • 2 Pages

    The application displays the information about 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, the value of the inventory of that product, and the value of the entire inventory, sorted by the name of the product.…

    • 302 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    BIO100 quiz 2

    • 734 Words
    • 10 Pages

    Thank you for your participation in this assignment. Your work has been submitted to your instructor.…

    • 734 Words
    • 10 Pages
    Satisfactory Essays
  • Good Essays

    Currently inventory and control is a paper based inventory management system that has become outdated and obsolete. The system is a seven step process that includes a separate document for each step. These steps or processes are expensive and time consuming, and hinder future growth toward expanding into a global organization. The seven steps are; 1) Receiving documentation; 2) Scheduled orders documentation; 3) Orders received documentation; 4) Raw materials/sub-assemblies documentation; 5) Sub-assembly/final product documentation; 6) Sales order form documentation; 7) Shipping documentation. Along with each of these steps an inventory technician is responsible for putting the information into a computer, which could conceivably be seen as 14 separate steps.…

    • 841 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Care Plan Week 5 2

    • 838 Words
    • 5 Pages

    References: (Use your textbook or any other reputable source. Wikipedia is not a reputable source. Cite your references in APA format):…

    • 838 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    Attention: This is an individual assignment and collaborations are not allowed. Please pay special attention to the number of significant digits.…

    • 505 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Accountancy Test Questions

    • 1658 Words
    • 20 Pages

    An itemized statement of goods prepared by the vendor listing the customer's name, items sold, sales prices, and terms of sale.…

    • 1658 Words
    • 20 Pages
    Good Essays
  • Satisfactory Essays

    CSC 316 Module 1 SLP

    • 444 Words
    • 2 Pages

    The next step in building this database will require information on product sales to determine which items are selling the most and how often. This data will allow for ease in managing inventory and ensuring orders are placed in a timely manner. The data needed for this function will be sales order number, price at sale, tax, items sold and customer contact information. The data will be collected at the point of sale using a touch screen tablet interface in tandem with the sales register. The customer will directly be prompted to input their contact information at the point of sale which will associate the information with the correct order number.…

    • 444 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Lisa Gamel CSU Global Campus ITS320 Basic Programming Dr. Biswajit Panja Final February 26, 2015 / * * Program number: University – ITS-320 – Basic Programming * Name * Date: 02/26/2015 * */ public class NegativeAmountException extends Exception { private static final long serialVersionUID =…

    • 444 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Learning Objective: 13-02 Be able to identify and describe the types of documents and records used in the inventory management process.…

    • 15453 Words
    • 77 Pages
    Satisfactory Essays
  • Powerful Essays

    Cohesion Case Broadway Cafe

    • 6472 Words
    • 17 Pages

    Inventory Management Made Easy With Inventory Management System | Small Business Accounting Software & Business Plan Software Reviews…

    • 6472 Words
    • 17 Pages
    Powerful Essays
  • Powerful Essays

    Acorn Industries

    • 6346 Words
    • 24 Pages

    I THE UNDERSIGNED, HEREBY DECLARE THIS ASSIGNMENT AS MY OWN WORK. IT HAS NOT BEEN PREVIOUSLY SUBMITTED FOR ANY OTHER EXAMINATION.…

    • 6346 Words
    • 24 Pages
    Powerful Essays
  • Powerful Essays

    Marketing Mix of 5 Brands

    • 2730 Words
    • 11 Pages

    * Product - It is a tangible good or an intangible service that is mass produced or manufactured on a large scale with a specific volume of units. Intangible products are service based like the tourism industry & the hotel industry or codes-based products like cellphone load and credits. Typical examples of a mass produced tangible object are the motor car and the disposable razor. A less obvious but ubiquitous mass produced service is a computer operating system. Packaging also needs to be taken into consideration. Every product is subject to a life-cycle including a growth phase followed by an eventual period of decline as the product approaches market saturation. To retain its competitiveness in the market, product differentiation is required and is one of the strategies to differentiate a product from its competitors.…

    • 2730 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    Product Hierarchy

    • 408 Words
    • 2 Pages

    * Product class: A group of products within the product family recognized as having a certain functional coherence.…

    • 408 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Proposed Systems

    • 307 Words
    • 3 Pages

     Users can save time  Well-organized inventory can apply in this project  To help users to automatically generate stocks and other databases…

    • 307 Words
    • 3 Pages
    Satisfactory Essays