A console-based Inventory Management System built using Java and OOP principles.
This application helps manage products, track stock levels, and generate low stock alerts.
✔ Add new product
✔ View all products
✔ Search product by ID
✔ Update product quantity
✔ Delete product
✔ Calculate total inventory value
✔ 🚨 Low Stock Alert system
✔ Exception handling for invalid input
✔ Menu-driven interface
✔ Uses ArrayList for data storage
| Class | Description |
|---|---|
Product |
Stores product details like ID, name, price, quantity, and minimum stock level |
InventoryManager |
Handles inventory operations (add, search, update, delete, alerts) |
InventoryApp |
Main class with menu-driven user interface |
The system allows users to manage inventory through a menu:
- Add Product
- View Products
- Search Product
- Update Quantity
- Delete Product
- Total Inventory Value
- Show Low Stock Products
- Exit
If a product's quantity goes below the minimum stock level, the system shows:
⚠ LOW STOCK ALERT
- Java
- OOP (Object-Oriented Programming)
- ArrayList (Java Collections)
- Exception Handling
- Clone the repository
- Open in any Java IDE (IntelliJ / Eclipse / VS Code)
- Compile all files
- Run
InventoryApp.java
ID: 101 | Name: Keyboard | Price: ₹500 | Qty: 5 | Min Stock: 3 | Value: ₹2500
If stock is low:
ID: 102 | Name: Mouse | Price: ₹300 | Qty: 2 | Min Stock: 3 | Value: ₹600 ⚠ LOW STOCK!
- Classes & Objects
- Encapsulation
- Collections (ArrayList)
- Loops & Conditions
- Exception Handling
- Menu-driven program design