The Airline Management System is a console-based Java application developed using
Object-Oriented Programming principles.
It uses JDBC to interact with a relational database and allows users to manage
airline flight data through a menu-driven interface.
This project was developed as part of a Java OOP assessment and demonstrates CRUD operations, database connectivity, and user input handling.
The application provides the following functionalities through console options:
- Create Flight Table
- Insert Flight Details
- Find Flights by Source and Destination
- Change Source City
- Find Cheapest Flight between Source and Destination
- Find Shortest Duration Flight
- Update Flight Fare (Economy, First Class, Business Class)
- Print All Flights Data
- Exit Application
The system also handles invalid inputs such as wrong source or destination cities.
- Java (Core Java, OOP)
- JDBC
- PostgreSQL (or compatible RDBMS)
- IntelliJ IDEA
- Git & GitHub
- Open the project in IntelliJ IDEA.
- Ensure database connection details are correctly set in
connection.properties. - Run the
AirlineRunnerclass. - The console menu will appear.
- Enter the desired option number to perform operations.
- Flight records are stored in a database table.
- Users can insert, update, search, and display flight details.
- Fare updates apply to Economy, First Class, and Business Class.
- The program handles cases where no flight is found for given routes.
- Create table → Insert flight data
- Search flights using source and destination
- Update fare for an existing flight
- Display all flight records
- Exit safely using menu option 9
Utkarsh Dilip Pardhi GitHub: https://github.com/UtkarshPardhi
- This is a console-based application.
- Designed to demonstrate Java OOP concepts and JDBC usage.