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 06:00
Pthe price of tickets in a group when a purchased in bulk can be found with the equation c=px+24 were c is the cost, p is the number of people,and x is the price per ticket. what is price of of each ticket if it costs $189 to buy tickets for 15 people ? a $8 b $24c $9d $11 show work
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
question
Computers and Technology, 23.06.2019 00:20
The open systems interconnection (osi) reference model: defines standards for many aspects of computing and communications within a network. is a generic description for how computers use multiple layers of protocol rules to communicate across a network. defines standards for wireless local area network (wlan) communication protocols. details the advantages and disadvantages of various basic network cabling options.
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Which of the following would you find on a network
Answers: 3
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
Mathematics, 19.11.2020 19:20
question
Spanish, 19.11.2020 19:20
question
Biology, 19.11.2020 19:20
Questions on the website: 13722362