Question:

How to write a program that assign seats on an airplane in Java

by Guest45313  |  earlier

0 LIKES UnLike

How to write a program that assign seats on an airplane in Java

 Tags:

   Report

1 ANSWERS


  1. This is actually a more complex question that you seem to think it is.

    There is a database involved and possibly a gui.

    What you need to start with is a full description of what exactly you want to do.  This question is far too brief to even attempt to answer.

    You need to think in terms of what this is going to look like, How many aircraft are you going to be booking for and for each aircraft is there a different seat configuration.

    So not only do you have to think about displaying this information but also how to store and retrieve the setup information for each aircraft type.

    Now you can start to think about storing the booking information related to a specific aircraft type of more specifically an actual flight.

    I think you have to put in a lot of work before you can even make any sort of start on this.

    Try to start with a simple example.  Design a 4 seater plane.  Now try and work out how to book the seats.  What will a customer want to do?  This is almost a use case.

    Good luck.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.