Giter Site home page Giter Site logo

recluzegeek / airlinereservationsystem Goto Github PK

View Code? Open in Web Editor NEW
25.0 1.0 12.0 1.68 MB

A Java-based airline reservation system that uses Object-Oriented Programming. The system can manage customers, admins, flight booking and cancellation. It also includes many other features implemented in Java using OOP concepts like inheritance, encapsulation, association, and composition.

License: MIT License

Java 100.00%
java object-oriented-programming object-oriented-programming-project oop-concepts oops-in-java javaapps oop

airlinereservationsystem's Introduction

Requirements

a. Java 15 or higher required to run .jar file of this project

b. Intellij IDEA / Any Preferred IDE

AirLineReservationSystem

A Java-based airline reservation system that uses Object-Oriented Programming. The system can manage customers, admins, flight booking and cancellation. It also includes many other features implemented in Java using OOP concepts like inheritance, encapsulation, association, and composition.

image

Features

The reservation system demonstrates the role of both the admin and the passenger. The admin sets up and manages the reservation system, while passengers use it to make reservations.

1. Customer Registration

In order to get started with the program, you need to register first. Make sure you remember your login information, as you will need it to sign in. Registration screen can be seen in the image below:

image

2. Customer Login

You can access all the features of the program by logging in with your credentials. After successful login, you can avail all the features offered by the program.

image

a. Book Flight

This module helps customers book a flight. Customers must enter the flight number and the number of tickets for the flight in order to make a reservation. An example is shown in the image below:

image

b. Update Data

This section allows users to modify their bio-data. Data includes name, email, phone number, address and age. If the user edits his data, logouts eventually and tries to log in with the old email, he won't be able to log in as his old email has been replaced.

image

c. Delete Account

If a user decides to delete their account, they can do so and all the data related to the account will be deleted. However, any flights that were registered by the user before they deleted their account will still be in the records.

image

d. Random Flight Schedule

This segment of the program shows the scheduled flights for this instance. The schedule may change as the program runs again. The number of flights in the schedule can be adjusted by adjusting the value of the numOfFlights variable in the Flight class's flightScheduler() method.

image

e. Cancel Flight

Users can cancel a registered flight by specifying the number of tickets to cancel. These tickets will then be returned to the main flight scheduler.

f. Flights Registered By Customer

This section displays info about the flights registered by the logged in customer and also shows the flight status. Flights status updates as a scheduled flight is cancelled/deleted by the admin.

image

3. Admin Registration & Login

The administration bears a heavy responsibility as they've to manage the entire system. An admin can perform CRUD operations, manage flights and customers. Following are the responsibilities of the admin for this reservation system.

image

a. CRUD Operations

b. Delete a Flight

c. Display All Passengers

d. Display All Flights Registered By a Passenger

e. Display All Registered Passengers In a Flight

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.