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 15:30
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
question
Computers and Technology, 22.06.2019 17:00
Your company has 1,500 desktop computers running windows 7. you want to upgrade them to windows 10. which type of microsoft license would be best suited in this situation?
Answers: 3
question
Computers and Technology, 22.06.2019 20:00
When you mouse over and click to add a search term this(these) boolean operator(s) is(are) not implied. (select all that apply)?
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Which company provides a crowdsourcing platform for corporate research and development? a: mtruk b: wiki answers c: mediawiki d: innocentive
Answers: 2
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
Biology, 22.01.2020 17:31
question
Social Studies, 22.01.2020 17:31
question
Mathematics, 22.01.2020 17:31
question
Mathematics, 22.01.2020 17:31
Questions on the website: 13722363