Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified AirLineReservationSystemUML.pdf
Binary file not shown.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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](https://user-images.githubusercontent.com/72850566/167471464-0afa5c6a-806d-4a62-97d4-947e73cd92d2.png)
# 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](https://user-images.githubusercontent.com/72850566/167473655-96610ecf-5282-490c-b9e6-fd152d38fe54.png)
## 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](https://user-images.githubusercontent.com/72850566/167475733-d9a5e04c-32f7-4886-9dc7-ef7926c95ce6.png)
### 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](https://user-images.githubusercontent.com/72850566/167480036-e8c99e34-e44e-4c57-afe2-918767de8ec7.png)
### 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](https://user-images.githubusercontent.com/72850566/167482100-9178c0ce-a134-4923-9da3-ff1b607d19d6.png)
### 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](https://user-images.githubusercontent.com/72850566/167483584-aa68d166-0ce9-4a5e-a624-c94b0eb9497b.png)
### 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 schedule updates as users book or cancel registered flights. The number of available seats decreases on booking of flights and increases when a user cancels a registered flight.
## ![image](https://user-images.githubusercontent.com/72850566/167483853-cb853ae5-09b6-46e2-a005-cd77ec60fa53.png)
Binary file modified out/artifacts/OOP_Project_jar/OOP-Project.jar
Binary file not shown.
Binary file modified out/production/OOP-Project/Flight.class
Binary file not shown.
Binary file modified out/production/OOP-Project/FlightReservation.class
Binary file not shown.
Binary file modified out/production/OOP-Project/User.class
Binary file not shown.
6 changes: 0 additions & 6 deletions src/FlightReservation.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ public class FlightReservation implements DisplayClass {

// ************************************************************ Behaviours/Methods ************************************************************

/*
!!!!!
.... Attention ....
Don't make any changes/edit in this method until you've guts to remove severe kind of logical bugs....
!!!!!
*/

/**
* Book the numOfTickets for said flight for the specified user. Update the available seats in main system by
Expand Down
8 changes: 0 additions & 8 deletions src/Test.java

This file was deleted.