Skip to content

Dharun45/Rentora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vehicle-Renting-System

A Vehicle Rental System is an application that simplifies vehicle renting for customers and companies. Users can view vehicles, check prices, and book online, while the system automatically manages vehicle data, availability, customers, bookings, and payments, reducing manual work, minimizing errors, and improving overall efficiency.

This project is mainly built for learning OOP concepts and understanding how abstraction, inheritance, encapsulation, and composition work together in a practical application.

Features

  • View available vehicles
  • Rent cars and bikes
  • Return rented vehicles
  • Automatic rent calculation
  • Invoice generation
  • Console-based interactive menu
  • Simple and beginner-friendly design

OOP Concepts Used

  • AbstractionPerson and Vehicle abstract classes
  • InheritanceCustomer, Car, and Bike extend base classes
  • Encapsulation – Private fields with controlled access
  • Polymorphism – Method overriding (getType, getRole)
  • CompositionRentalStore manages vehicles and rentals

Technologies

  • Language: Java
  • Concepts: Core Java, OOP
  • Interface: Console / Command Line
  • Tools: VS Code / IntelliJ / Eclipse

Project Structure

RentWise/ └── RentVehicles.java

⚙️ How to Run

Compile

javac RentVehicles.java

About

A Vehicle Rental System is an application that simplifies vehicle renting for customers and companies. Users can view vehicles, check prices, and book online, while the system automatically manages vehicle data, availability, customers, bookings, and payments, reducing manual work, minimizing errors, and improving overall efficiency.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages