Skip to content

kimberly-0/bike-rental-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bike rental application

This project is a program to manage bicycle rentals. It enables the creation of road bikes and electric bikes, adding new bikes to the company's collection, renting out bikes, and terminating rental contracts. The program also keeps track of customer records and which customer has rented which bike with a maximum of 1 per customer 1. All customers can rent road bikes, but only 'Gold Class' customers that are at least 21 years old can rent electric bikes.

UML class diagram

Getting started

  1. Install Java

  2. Download the code in a ZIP file or clone the repository

$ git clone https://github.com/kimberly-0/bike-rental-application.git

  1. Open RentalManager.java (located in src/main/java/kd) in an IDE

  2. Run the main method to start the program

  3. Modify the debug method to test out different scenarios

Footnotes

  1. Disclaimer: All customer data is fictional, no personal information is used in the program.