Skip to content

A simple Java-based car rental system for managing rentals, customers, and cars. Ideal for learning Java and object-oriented programming.

Notifications You must be signed in to change notification settings

azizbelkhouja/car-rental-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Car Rental System

A simple Java-based Car Rental System that allows users to rent and return cars. This project demonstrates the basic functionalities of a car rental service, including adding cars, renting cars, returning cars, and managing customer and rental information.

Features

  • Car Management: Add and manage cars available for rent.
  • Customer Management: Add and manage customer information.
  • Rental Management: Rent out cars to customers and manage rental records.
  • Return Management: Return rented cars and update their availability status.

Getting Started

Prerequisites

  • Java Development Kit (JDK): Ensure you have JDK installed on your machine. You can download it from Oracle's official website.

Installation

  1. Clone the repository (if using version control):

    git clone https://github.com/azizbelkhouja/car-rental-system.git
  2. Navigate to the project directory:

    cd car-rental-system
  3. Compile the Java program:

    javac Main.java
  4. Run the compiled program:

    java Main

Usage

Once the program is running, you will be presented with a menu:

  • 1. Rent a Car: Allows you to rent an available car by providing your name and the number of days for rental.
  • 2. Return a Car: Allows you to return a car by providing the car ID.
  • 3. Exit: Exit the application.

About

A simple Java-based car rental system for managing rentals, customers, and cars. Ideal for learning Java and object-oriented programming.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages