Skip to content

This project is a simulator for viewing, searching, and booking flights.

License

Notifications You must be signed in to change notification settings

JSKohli/Flight-Reservation-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight-Reservation-System

This project was my final project for Computer Science II class. It is a simulator for viewing, searching, and booking flights. Although the requirement was only to implement a few OOP concepts, I tried to make it bigger in an attempt to learn java.

Improvements

  • The code I submitted for had quite a few bugs which have now been removed.
  • The program now has user input validation at all steps.
  • The flight ticket had terrible formatting. Now it has a better layout.

Present Status

At present the program begins by reading data from a text file(flight.txt) and displaying all the information.

List of all available flights

Then it asks the user for query details such as TO, FROM, DEPARTURE. It searches through all the flights and displays the ones that match the search data. The user selects a flight and is taken to Passenger Info Page.

Query Details

The user enters the passenger info, selects a seat, and confirms booking.

Passenger Info form

Airplane seat map

The program finally generates the ticket in the form of a text file (FlightTicket.txt).

Flight ticket

Features to be added

  • Passenger list in flight objects to be added
  • Sort by flight prices
  • Payment details Page
  • Possibly introduce a database and get rid of text files
  • Possible introduce GUI using java FX

About

This project is a simulator for viewing, searching, and booking flights.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages