The Smart Parking Management System is a console-based Java application that manages vehicle parking operations for bikes, cars, and trucks. The system allows users to park vehicles, vacate parking spots, search bookings, view available spots, and access administrative functions such as monitoring occupancy and total earnings.
This application demonstrates core programming concepts such as collections, object management, menu-driven interaction, and basic business logic.
- Park a vehicle and automatically allocate an available spot
- Enter vehicle and owner details
- Vacate a spot and generate a parking charge
- Search bookings by vehicle number
- View available parking spots in real time
- Exit the system safely
(Admin password required)
- View total earnings
- Monitor real-time occupancy
- Add or remove parking spots
- Exit admin mode
| Vehicle Type | Parking Charge |
|---|---|
| Bike | $5.00 |
| Car | $10.00 |
| Truck | $20.00 |
- Language: Java
- Collections: List, Map
- Concepts: OOP basics, menu-driven console input, dynamic data storage
- The user selects an option from the main menu.
- Vehicle parking automatically assigns the next available spot.
- Booking details are stored for tracking.
- When a vehicle vacates a spot, a fixed charge is applied and earnings are updated.
- Administrator tools provide reporting and management capabilities.
| Vehicle Type | Spots |
|---|---|
| Bikes | 3 |
| Cars | 4 |
| Trucks | 2 |
Spots are labeled:
- Bike: `B-1`, `B-2`, `B-3`
- Car: `C-1`, `C-2`, `C-3`, `C-4`
- Truck: `T-1`, `T-2`
Default Password: admin123
- Park Vehicle
- Vacate Spot
- Display Available Spots
- Search for a Booking
- Administrator Access
- Exit
- A user parks a car → system assigns
C-1 - Owner details are recorded
- Later the spot is vacated
- System charges $10 and adds to total earnings
- Spot becomes available again
- Fixed pricing (time is not calculated)
- Basic input validation
- Admin can remove active spots
- Data is stored in memory only (no database/file persistence)
- Time-based billing
- Persistent storage (database or file)
- Web or GUI interface
- Improved validation
- Role-based authentication
- Reporting dashboard
This project was developed based on the idea of creating a simple and effective parking lot management solution. The goal is to demonstrate project idea, logical design, Java programming fundamentals, and problem-solving using console-based interaction.