The Vehicle Rental System. It simulates a basic rental service where users can rent, return, and view vehicles such as cars, motorcycles, and trucks.
- Add and manage different types of vehicles
- Create and manage customer profiles
- Rent and return vehicles
- Track vehicle availability
- Console-based interaction with organized class structure
- Java
- OOP concepts
| Folder | Purpose |
|---|---|
ui/ |
All Swing GUI components and user-facing windows |
models/ |
All data model classes representing vehicles, customers, etc. |
system/ |
Contains backend logic β rental management, data storage, etc. |
.gitignore |
Prevents unnecessary files (like .class, bin/, .idea/) from upload |
README.md |
GitHub project info, setup guide, usage instructions |
## π How to Clone and Run This Project in VS Code
Follow these steps to clone the Vehicle Rental System and run it using Visual Studio Code.
---
### π₯ 1. Clone the Repository
Open your terminal (or Git Bash), then run:
```bash
git clone https://github.com/Zen0n111/vehicle-rental-system.gitcd vehicle-rental-systemIf you have VS Code installed and added to PATH, run:
code .This will open the whole project in VS Code.
Ensure that you have Java JDK installed and set up. You can verify it by running:
java -versionand
javac -version- Open the
Main.javafile (located inui/or root, depending on your structure). - Click the Run
βΆοΈ button at the top right, or right-click and select Run Java. - If youβre using Swing, the UI window should appear.
Youβre now ready to build and test the Vehicle Rental System project in VS Code. ππ»