Write a Java program that manages an Airport
Every Journey implemented as a node of a linked list that contains:
• Plane(name, type, capacity(
• Target Location
• Distance
• Date and Time to takeoff
• Time expected to reach target( # minutes)
• Queue of passengers (implemented by linked list), Passenger data: (full name, id, ticket_no, desk_no(
Functionality:
• Add new journey
• Edit journey(Data and time of takeoff, time to reach target, distance, target(
• Delete journey by name or by selection(put it in a stack that implemented by linked list(
• Undo deleting last deleted journey
• Add passenger to journey by name or by selection
• Delete passenger from journey by passenger name
• When plane capacity is full, journey started and transfer it from linked list
to other linked list (in process journey)
• View all waiting and processing journeys
• View data of any selected journey
• Search about passenger by (name, ticket_no)
• Search about target view journey data
• Sort journeys by target, time of setoff, distance and number of passengers exists
Other requirement:
• Make it easy and friendly as you can.
يا ريت اي حدا يقدر يساعدنى يتواصل معي