Question: Can I get help with code for this? Here is what the program is about, with basic classes and methods defined. I just need help
Can I get help with code for this? Here is what the program is about, with basic classes and methods defined. I just need help creating the actual program for this. Program needs to be in Java.
Project Summary
A smaller airport is in need of a system that keeps track of the various airplanes that use their airport. The System would allow the customer to review and reserve seats as well as let the airport staff see various information. The system would have to keep track of all the planes information including: destination, number of seats, depart time & date, arrival time & date, price, flight length, and plane ID. It will also need a user interface that allows the customer to look at all available flights and make the reservation.
Classes
Airplane- Information about the airplane including destination, numberSeats, departTime, departDate, arrivalTime, arrivalDate, Price, flightLength, ID
AirplaneArray - stores airplane objects.
Customer - Information about the customer including name, address, dateOfBirth, phoneNumber, customerID.
CustomerArray- stores customer objects
AirportProgram - MainClass - user selects whether to look up flight information or make a reservation
infoLookup - allows user to look up a flight and return information about that plane.
AirportCustomer - allows customers to input their information and reserve a seat on a plane as long as there are seats available.
AirportStaff - allows staff to input plane information as well as remove listed airplanes
Class Methods
Airplane
-getDestination - Get the airplanes destination
-getNumberOfSeats - Get the airplanes number of seats
-getDepartTime - Get the airplanes depart time
-getDepartDate - Get the airplanes depart date
-getArrivalTime - Get the airplane's arrival time
-getArrivalDate - Get the airplane's arrival date
-getPrice - Get the airplanes price
-getPlaneID - get planeID
-getFlightLength - Get the airplanes flight length
-setDestination - Set the airplanes destination
-setNumberOfSeats - Set the airplanes number of seats
-setDepartTime - Set the airplanes depart time
-setDepartDate - Set the airplanes depart date
-setArrivalTime - Set the airplanes arrival time
-setArrivalDate - Set the airplanes arrival date
-setPrice - Set the airplanes price
-setPlaneID - Set planeID
AirplaneArray
-findPlane - finds a plane in the array
-AddPlane - adds a plane to the array
-RemovePlane - removes an existing plane from the array
Customer
-getName - Get the customer name
-getAddress - Get the customer address
-getDateOfBirth - Get the customer date of birth
-getPhoneNumber - Get the customer phone number
-getCustomerID - Get the customerID
-setName - Set the customer Name
-setAddress - Set the customer Address
-setDateOfBirth - Set the customer date of birth
-setPhoneNumber - Set the customer phone number
-setCustomerID - Set the customerID
CustomerArray
-findCustomer - Finds a customer in the array
-addCustomer - adds a customer to the array
-removePlane - removes an existing customer from the array
AirportProgram
-main - Login the user and lets them access InfoLookup method, AirportCustomer method, or the AirportStaff method.
InfoLookup
-lookup - menu for customers or staff to look up information about the various planes.
AirportCustomer
-customer - menu for the customer to set their customer information and allows them to make a reservation for a seat.
AirportStaff
-staff - menu for the staff to set the airplane information and remove planes from the listing.
Proposed Tasks
Develop a system that can process flights for customers from specified locations, at a specified price, and at a specific time.
Assumptions
Develop a system that can process flights for customers from specified locations, at a specified price, and at a specific time. Our company only flies domestic flights to and from select airports within the United States of America.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
