Question: I want to create a program using Java to simulate the process of getting a Ticket for a Plane. For this I have four sections:
I want to create a program using Java to simulate the process of getting a Ticket for a Plane. For this I have four sections: First class with a capacity of and a price of $ Bussiness class with a cpacity of and price $ Tourist class with a capacity of and a price of $ and Basic class with a capacity of and a price of $ I need to create populate the seats. Seats havingSection row, seat number This has to be done using sets. I want to show the number of seats available.I also need to reserve the seats the client choose from the available seats, and reserve them. Storing their transaction in an arraylist. And using a HashMap to map the clients, with the seats they bought. Finally I need to show the users their final total. In the reservations I also want to allow clients to choose from different sections if they want toThanks in advance
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
