A console-based Inventory Management System developed in Java using Object-Oriented Programming and Java Collections, designed for beginner to intermediate developers. It allows users to manage product inventories with features like adding, viewing, updating, deleting, and monitoring low stock.
- Java SE (JDK 8+)
- ArrayList for in-memory storage
- Scanner for user input
- IDE: VS Code
- ✅ Add a new product (ID, Name, Quantity, Price)
- 📋 View all products
- ✏️ Update product details
- 🗑️ Delete a product
⚠️ Show low-stock items (below threshold)- 🚪 Exit the program safely
- Object-Oriented Programming (OOP)
- Java Collections (
ArrayList) - Modular programming (methods and separation of logic)
- Scanner-based input handling
- Console-based menus and user interaction
InventoryManager/
├── Product.java // Product data model
├── Inventory.java // Inventory logic (CRUD operations)
└── Main.java // Console UI and application entry point
| Scenario | Expected Output |
|---|---|
| Add Product | ✅ Product added successfully |
| View Products | 📋 List of products |
| Update Product (valid ID) | ✅ Product updated |
| Update Product (invalid) | ❌ Product not found |
| Delete Product | 🗑️ Product deleted |
| Low Stock Alert |
- Clone the repo or copy source files into your IDE
- Compile and run
Main.java - Follow the menu instructions in the console
- Add file storage (CSV or JSON)
- Integrate with database (JDBC or MySQL)
- Implement GUI using Swing or JavaFX
- Role-based login system (Admin/User)
- Export product reports as PDF or Excel
This project is open-source and free to use for educational and personal purposes.
Ujjwal Gupta
Beginner Java Developer | Backend Enthusiast
Connect: LinkedIn | GitHub