Skip to content

prajwalkarajange/Car-Rental-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚗 Car Rental System (Java OOP Project)

Java OOP Status


📌 Project Overview

A console-based Car Rental System built using Java and Object-Oriented Programming (OOP) principles. This application allows users to rent and return cars while managing customer data and rental operations efficiently.


✨ Key Features

✔️ View available cars

✔️ Rent cars based on duration

✔️ Return rented cars

✔️ Customer management system

✔️ Automatic price calculation


🛠️ Tech Stack

  • Language: Java
  • Concepts: OOP (Encapsulation, Classes, Objects)
  • Data Structure: ArrayList

📂 Project Structure

src/
 ├── Car.java
 ├── Customer.java
 ├── Rental.java
 ├── CarRentalSystem.java
 └── Main.java

▶️ How to Run the Project

1️⃣ Clone the Repository

git clone https://github.com/your-username/car-rental-system.git

2️⃣ Navigate to Project Folder

cd car-rental-system

3️⃣ Compile Java Files

javac *.java

4️⃣ Run the Application

java Main

🧠 Concepts Applied

  • Object-Oriented Programming (OOP)
  • Classes & Objects
  • Encapsulation
  • Dynamic Data Handling using ArrayList
  • Real-world system simulation

📸 Sample Output

===== Car Rental System =====
1. Rent a Car
2. Return a Car
3. Exit

🚀 Future Enhancements

  • 🔹 GUI using Java Swing / JavaFX
  • 🔹 Database integration (MySQL)
  • 🔹 User authentication system
  • 🔹 Improved exception handling

💼 Why This Project?

This project demonstrates practical implementation of OOP concepts and simulates a real-world rental system, showcasing problem-solving and system design skills.


👨‍💻 Author

Prajwal Karajange


⭐ Support

If you found this project helpful, please ⭐ the repository!

About

A Java-based Car Rental System built using Object-Oriented Programming (OOP) concepts. This project allows users to rent and return cars through a console-based interface, managing customers, rentals, and car availability efficiently.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages