0% found this document useful (0 votes)
18 views

Java Micro Project

It is java project

Uploaded by

atharvmiraje39
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Java Micro Project

It is java project

Uploaded by

atharvmiraje39
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Flight Reservation System

Part-A
Micro project proposal
ON
Flight Reservation System

1. Brief Introduction:
“Flight Reservation System” main aim is to provide the online ticket & seat
reservation of National and International Flights and also give us the information
about flight departures. In this JAVA Major project mainly we are going to
concentrate on ticket booking function, this function will take the user inputs like
their requirements (flight name, flight source & destination, Number of seats, Seat
numbers), after entering all of his/her requirements in this application, it can check
at backend & provide us the total information about flights. When we open the first
page of this project we can find the basic information (basic fair & discounts) about
today flight timings.

2. Aim of micro project:-

The main

3. Intended course outcomes:-


1. Develop programs using object oriented methodology.
2. Apply concept of the inheritance for code reusability.
3. Implement Exception handling.
4. Develop programs using graphics and applet.

G.R.W.P.Tasgaon Page 1
Flight Reservation System

4. Literature review:-

American Airlines was the first to establish an automated booking system


in 1946. Using a system to track information and improve efficiency was a
highly appealing aim in the industry, and drew the attention of other airlines
worldwide. The system endured years of development and alterations. Later,
other airlines invested more in research and development to launch improved
systems, and through the late 1960s and early 1970s, airlines established their
own systems .United Airlines developed the Apollo Reservation System, and
shortly after allowed travel agents access. The Apollo system was the foundation
for many further developments, which spread from just US airlines to European
airlines as well. The research and development of Airline Reservation System
became a significant aspect of the industry and all its air carrier companies, and
partnerships between airlines and technology gurus emerged. Winston (1995)
other airlines soon established their own systems. Delta Air Lines launched the
Delta Automated Travel Account System (DATAS) in 1968. United Airlines and
Trans World Airlines followed in1971 with the Apollo Reservation System and
Programmed Airline Reservation System (PARS).

4. Proposed methodology:-
a. Search the topic for micro project.
b. Select the topic for micro project.
c. Search for the project.
d. Collect the information about micro project.
e. Study on the topic of micro project.
f. Create proposal of the project.
g. Submit report of the micro project.

G.R.W.P.Tasgaon Page 2
Flight Reservation System

5. Resources required:-

Sr. no Name of resource Specification Quantity Remark

Computer system with Processor-Intel (R)core™2


1 broad specification Duo.RAM-2.00GB 01
System type-64 bit operating
system
Internet www.wikipedia.com 02
2 www.javatpoint.com
Software 1.Microsoft word 2010 02
3 2.JDK1.75.0
Reference book 1.Java Edition.-balagruru 03
4 samy E.
2. Java Programing-Dr.
Rajendra Kawale

G.R.W.P.Tasgaon Page 3
Flight Reservation System

Report
ON
Flight Reservation System
1. Rationale:-
Travel agents began pushing for a system that could automate
their side of the process by accessing the various Airline Reservation
Systems directly to make reservations .Fearful this would place too
much power in the hands of agents; American Airlines executive
Robert Crandall proposed creating an industry-wide Computer
Reservation System to be a central clearing house for United States
travels; other airlines demurred, citing fear of antitrust prosecution.

2. Course outcome addressed:-


1. Develop programs using object oriented methodology.
2. Apply concept of the inheritance for code reusability.
3. Implement Exception handling.
4. Develop programs using graphics and applet.

G.R.W.P.Tasgaon Page 4
Flight Reservation System

3. Literature Review:-

Airline deregulation occurred in 1978, magnifying the


importance of computerized airline reservation systems and their
accessibility. During the early 1970s, as travel agents pushed for
access to reservation systems, and certain airline executives made
investments for the sake of accessing the systems of other airlines,
antitrust laws came into focus. The purpose of the 1978Airline
Deregulation Act in the United States was to eliminate government
control over commercial aviation, and ensure competitive behaviour
and fair business practices in the airline industry. Passengers could
gain knowledge of market forces and new market entry in the
industry. Information on specific airlines and the industry as a whole
became more widely and readily accessible, evolving the airline
reservation systems from "standalone" operations toward GDS.
Today, airline reservation systems have developed into computerized
reservation systems which are of mission critical to the airline
industry, about six major airline reservations systems are used by
international airlines. Winston, (1995)

4. Actual methodology followed:-


a) Search the topic for micro project.
b) Select the topic for micro project.
c) Search for the project.
d) Collect the information about micro project.
e) Study on the topic of micro project.
f) Create proposal of the project.
g) Submit report of the micro project.
G.R.W.P.Tasgaon Page 5
Flight Reservation System

5. Resources Required-

Sr. no Name of resource Specification quantity Remark


1 Computer system with Processor-Intel (R) core™2 01
broad specification Duo.RAM-2.00GB
System type-64 bit
operating system
2 Internet www.wikipedia.com 01

3 Software 1.Microsoft word 2007 02


2.JDK1.75.0

4 Reference book 03

6. Skill developed:-
Time and resource management:-
Is able to maximum personal efficiency by setting priorities and
effectively schedule activities an allocate resources .

Project tracking:-
Can efficient use tools and methods to track project progress .In
addition these skill are also important listening , problem solving , decision
making , team building and conflict management presentation , organizational
effectiveness , analysis and conceptual thinking.

G.R.W.P.Tasgaon Page 6
Flight Reservation System

7. Area of future improvement:-


The name of the software is “AIRLINE RESERVATION SYSTEM”. This
software provides options for viewing different flights available with different
timings for a particular date and provides customers with the facility to book a
ticket, modify or cancel a particular reservation but it does not provide the
customers with details of cost of the ticket and it does not allow the customer to
modify a particular part of his reservation and he/she can modify all his details.
Airline Companies are customer gets a live Flights checking, Available
seats, Pricing and also planning to provide seats as per theirs choice so that they can
travel very comfortably their journey. We will trying to provide food facility and
choice to customers so that they can feel like their home and more effective
amenities. We are also trying to make more attention on Business class people and
their requirements. Our future planning is to take this project towards an Android
App and QR Code Scanning. So that a Customer can easily contact to the Airlines
and they are getting quick Services from Airlines. in future to place in market so
that customer can take more advantages and saves their important time. We are also
finding and approaching

8. Application of Micro project:


This project used in airlines management system.it is helpful booking
flights and mange passenger seats.

G.R.W.P.Tasgaon Page 7
Flight Reservation System

9. Output of the micro project:-


Source Code for Flight Reservation System:-
import java.util.Scanner;
class Passenger extends Admin
{
String mob;
int age;
public String gender,fname,lname;
void Accept()
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter passenger First Name:");
fname=sc.next();
System.out.println ("Enter passenger Last Name:");
lname=sc.next();
System.out.println ("Enter passenger Mobile No:");
mob=sc.next();
System.out.println ("Select Gender:");
int ch;
System.out.println ("1.Female /n 2.Male /n 3.other:");
System.out.println ("Choose Gender:");
ch=sc.nextInt();
switch(ch)
{
case 1: gender="Female";
System.out.println(gender);
break;
case 2: gender="Male";
System.out.println(gender);
break;
case 3:gender="Other";
System.out.println(gender);
break;

G.R.W.P.Tasgaon Page 8
Flight Reservation System

default:
System.out.println("Enter choise wrong");
}
}

void display()
{
System.out.println("passenger First Name:\t passenger Last Name:\t Mobile: \t
gender: \tPay: \t Register Date: \t Travel Date:");
System.out.println( fname+ "\t\t " +lname+ "\t\t" +mob+ "\t\t"+gender+
"\t\t"+pay+"\t\t"+rd+"-"+rm+"-"+ry+ "\t\t"+td+"-"+tm+"-"+ty);
}
}
class Flight
{
public String c_name,f_name;//This for city name and Flight name
int flight_no;

void getData()
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter city name you want to go:");
c_name=sc.next();
System.out.println("Enter the Flight name:");
f_name=sc.next();
System.out.println("Enter the Flight No:");
flight_no=sc.nextInt();

}
void putData()
{
System.out.println("City name\t Flight name\t Flight N0 ");
System.out.println(c_name+ "\t"+f_name+ "\t"+flight_no);
}

G.R.W.P.Tasgaon Page 9
Flight Reservation System

}
interface Charge
{
int M=2000;//Militray passenger
int Se=3000;//SeniorCitizen
int C=500;//Children
public void Payment();
}
class Admin implements Charge
{
public int pay,S,age;
int rd,rm,ry;
int td,tm,ty;
public void RegisterDate()
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter Register Date:");
rd=sc.nextInt();
rm=sc.nextInt();
ry=sc.nextInt();
}
public void TravelDate()
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter Travel Date:");
td=sc.nextInt();
tm=sc.nextInt();
ty=sc.nextInt();
}
public void Payment()

{
Scanner sc=new Scanner(System.in);
G.R.W.P.Tasgaon Page 10
Flight Reservation System

System.out.println("Enter the No of seats you required:");


S=sc.nextInt();
System.out.println("Enter passenger Age:");
age=sc.nextInt();
//System.out.println("Flight Ticket fees for Militray man");
if (age>20)
pay=S*M;
// System.out.println("Flight Ticket fees for SeniorCitizen");
else if (age==50)
pay=S*Se;
// System.out.println("Flight Ticket fees for Children");
else if(age<18)
pay=S*(C-200);
else
pay=S*C;
}
}
class ProjectAirline
{
public static void main(String[]arg)
{
int n;
Scanner sc=new Scanner(System.in);
Passenger p=new Passenger();
Flight f=new Flight();
Admin a=new Admin();
do
{
System.out.println("\t\t\t****************************WELCOME TO
INDIAN AIRLINE****************************************\t\t\t");
System.out.println("1.Resgestration of Passenger\n 2.Resgestration Date of
Passenger\n 3.Travel Date of Passenger\n4.Regestration of Flight\n5.Details of
Passenger\n6.Details of Flight\n 7.Back To Main Menu\n8.Exit");
System.out.println("PLZ Enter Your Choice: ");
G.R.W.P.Tasgaon Page 11
Flight Reservation System

n=sc.nextInt();
switch(n)
{
case 1:
p.Accept();
break;
case 2:
p.RegisterDate();
break;
case 3:
p.TravelDate();
break;
case 4:
f.getData();
break;
case 5:
p.Payment();
p.display();
break;
case 6:
f.putData();
break;
default:
}
}while(n<=7);
}
}

G.R.W.P.Tasgaon Page 12
Flight Reservation System

Output of Source Code:-


1. Compile the java project file:

In this output java compiler compile java file and create class file using
this steps:
 javac file_name.java
 java file_name.

2. Registration of Passenger:

G.R.W.P.Tasgaon Page 13
Flight Reservation System

3. Registration Date of Passenger for Traveling:

4. Registration of Travel Date:

G.R.W.P.Tasgaon Page 14
Flight Reservation System

5. Registration of Flight

6. No. of seats Requirement for Passenger And Display of Passenger Details:

G.R.W.P.Tasgaon Page 15
Flight Reservation System

7. Display Details of Flight :

8. Enter 7 for back to menu And 8 for exit from programme:

G.R.W.P.Tasgaon Page 16

You might also like