Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write a java program on eclipse Project Features Adding, removing, searching, modifying, and sorting the passenger list. Project Operations Write a java program that will
write a java program on eclipse
Project Features Adding, removing, searching, modifying, and sorting the passenger list. Project Operations Write a java program that will mimic a railway ticket reservation system using Linked List (Queues / Stacks). The program should be able to perform the following operations: 1. Add passenger details (first name, last name, phone number, city, address, sex and email, ticket number, Class) 2. Delete any passenger details by ticket number 3. Update passenger information by providing the passenger's ticket number 4. Display all passenger detail 5. Search the passenger by using the passenger's first name 6. Sort the passenger list in alphabetical order. Project Outputs The output has to display a menu of choices. Then the user can select which operation wants to perform. Also, you can use the method System.exit (0); to exit the program. The menu of choices will be: 1) Add Passenger 2) Remove the Passenger 3) Update a passenger's information using their ticket number. 4) Display the entire passenger list. 5) Search the passenger's number based on the passenger's name. 6) Sort the entire passenger list. 7) Exit the program Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started