Computers and Technology

Design and code a program to allow passengers to book flights. in order for a passenger to book a flight, he/she must enter the following: first name last name from (city of departure) to (destination city) departure date (use java date class) return date (use java date class) choose a seat. assume a small airplane with seat numberings as follows: 1 a b c d 2 a b c d 3 a b c d 4 a b c d 5 a b c d 6 a b c d 7 a b c d you will need to define three classes as part of your model: the reservation class will have instance variables to store the reservation’s details including: seat, from, to, departure date, and return date. the passenger class will have instance variables to store the passenger’s first name, last name, and reservation. the bookinggui class will contain all the gui components and listeners. in addition, it should have an array of passengers, a method to add passenger to the passengers array, and a method to list all passengers.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 12:00, lyn94
Using the list, you can select the number of photos that will appear on each slide. a. theme b. frame shape c. pictures in album d. picture layout
Answers: 1
image
Computers and Technology, 23.06.2019 19:30, carcon2019
Amitha writes up a one-page summary of a novel during her summer internship at a publishing company. when she reads over the page, she realizes she used the word “foreshadow” seven times, and she would like to reduce the repetition. which tool would best amitha solve this problem?
Answers: 3
image
Computers and Technology, 23.06.2019 22:30, BilliePaul95
Janice usually works on a particular workbook that contains all business related data. she decides to keep a backup of all the data in a separate workbook. she opens a new workbook to transfer the data. which option should she use to copy all the data from one workbook to another workbook?
Answers: 1
image
Computers and Technology, 24.06.2019 12:40, kanga06
Match the feature to the network architecture. expensive to set up useful for a small organization easy to track files has a central server inexpensive to set up difficult to track files useful for a large organization does not have a central server client- server network peer-to-peer network
Answers: 3
Do you know the correct answer?
Design and code a program to allow passengers to book flights. in order for a passenger to book a fl...

Questions in other subjects:

Konu
Mathematics, 19.08.2019 07:00