Skip to content

hudson-eng-software/Inventory-Program-POO-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ Product Management System in Java

This project is a simple Java program that allows you to register a product, update its stock quantity (add or remove units), and display the updated product data.


🏷️ Badges

Java OOP GitHub Dev Hudson


πŸ“Œ Features

  • πŸ“₯ Register a product (name, price, and stock quantity).
  • βž• Add products to stock.
  • βž– Remove products from stock.
  • πŸ“Š Display updated product information.

πŸ“‚ Project Structure

src/
β”œβ”€β”€ application/
β”‚ └── Program.java
└── entities/
└── Product.java

- `Program.java`: contains the main logic (input handling and operations).  
- `Product.java`: class representing the product and its operations.  

πŸ–₯️ Example Usage

Enter product data:
Name: Notebook
Price: 1200.00
Quantity in stock: 10

Product data: Notebook, $1200.00, 10 units, Total: $12000.00

Enter the number of products to be added in stock: 5
Updated data: Notebook, $1200.00, 15 units, Total: $18000.00

Enter the number of products to be removed from stock: 3
Updated data: Notebook, $1200.00, 12 units, Total: $14400.00


πŸš€ How to Run

  1. Clone this repository:
   git clone https://github.com/your-username/java-product-system.git
  1. Compile the files:
javac application/Program.java entities/Product.java
  1. Run the program
java application.Program

Program : Dr.Nelio Alves - Udemy Class

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages