English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1. mode of booking(internet(less 2%) or manually:airlines)
2.no. of flights
3.operating cities
4.operating days
5.class either business(high fare) or economy(low fare)
advance booking(15 days)less 20%
6.15 passengers everyday(their information)

2006-09-18 00:47:16 · 2 answers · asked by nitesh_89jain 1 in Education & Reference Special Education

2 answers

Create necessary classes for Flights, schedule, sectors, tickets.
Define required methods in those classes like add, modify, retrieve etc. You are done....

2006-09-18 00:59:58 · answer #1 · answered by Indian_Male 4 · 0 0

Think how ur User Interface Looks like and then Decide the attributes that u want to store ie Details of the passenger, Flight, Date etc. list them down.
now classify this list that concerns a prticular entity. for eg.
Flight->Shedule,Cities,Days
Passenger->Name,Address

then try to bring up a object that will be describe u all the required contents in one go.
in this Defined object put all other objects as the attributes.
This may not be as simple as it sounds.. but trial and error has to be done depending on the coding and Run-Time changes that are required.

2006-09-19 02:58:58 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers