subject

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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:40
It is vital to research each of the services you plan to disable before implementing any change, especially on critical machines such as the: a. servers in the test environment. b. domain controller and other infrastructure servers. c. desktops that have previously been attacked. d. desktops used by upper-level management.
Answers: 2
question
Computers and Technology, 22.06.2019 10:00
According to alisa miller foreign news bureaus
Answers: 3
question
Computers and Technology, 22.06.2019 18:30
Kto rozmawia z clamentain przez krĂłtkofalĂłwke w the walking dead w 4 epizodzie
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
You know the right answer?
Design and code a program to allow passengers to book flights. in order for a passenger to book a fl...
Questions
question
Social Studies, 29.01.2020 15:57