1.1. Create a base class Airport + interface + package:
name;
address;
state.
1.2. Create a derivative class Airport Passenger + interface + package:
name;
surname;
where it flies (direction of travel);
flight number. // the int type must be selected for this attribute. This feature is unique [unchangeable]
2. Create 10 airport passengers and add them to the selected array:
2.1. Print all passenger information on the screen;
2.2. Remove passengers flying to the Maldives [need quarantine, not vacation]
2.3. Change flight direction to 'Canada' for passengers flying to 'USA' [less likely to get infected]
2.4. Sort passengers by where they fly, if the flight direction is the same - by flight number
2.5. Ability to find a passenger from an array by his flight number. The flight number can be entered from the keypad. Only numbers (!) Can be entered (exception processing if non-numbers are entered)
2.6. Print the passenger information with the highest flight number.
2.7. Print an array of passengers before and after changes (eg after deleting, changing, sorting, etc.).