This project is a Parking Lot Management System implemented in Java using Object-Oriented Programming (OOP) principles. The system manages the parking lot operations such as vehicle entry, exit, and parking slot allocation efficiently.
- Vehicle Entry: Allows vehicles to enter the parking lot and allocates a parking slot if available.
- Vehicle Exit: Marks the slot as empty when a vehicle exits, making it available for future vehicles.
- Parking Slot Allocation: Allocates the nearest available parking slot based on vehicle size and availability.
- Parking Lot Status: Displays the current status of the parking lot including occupied and vacant slots.
- Parking Lot Initialization: Initializes the parking lot with a given number of slots during system setup.
- Error Handling: Implements robust error handling to manage edge cases such as full parking lot or invalid inputs.
- Java Development Kit (JDK)
- Integrated Development Environment (IDE) like IntelliJ IDEA or Eclipse
To clone this repository and start the project on your own machine, follow these steps:
-
Clone the Repository: Open your terminal or command prompt and run the following command:
git clone <https://github.com/Rudrakc/ParkingLot>
-
Navigate to the Project Directory: Change your directory to the cloned repository:
cd <ParkingLot>
-
Open in IDE: Open the project in your preferred Integrated Development Environment (IDE) such as IntelliJ IDEA, Eclipse, or any other Java IDE.
-
Build and Run: Build the project and run the main class (e.g.,
Main.java
) to start the Parking Lot Management System. -
Explore: Explore the codebase, make changes, and contribute back to the project as desired!
Now you're all set to explore and work on the project on your local machine. Enjoy!