design a set of classes that will take the details for an organ delivery, locate an airplane to deliver it, then query the plane to see if it is viable for take off.
You should create a sufficient number of objects to do the work of making a decision on whether one plane is ready to do the job.
For this case, write a full set of objects and the code inside of them, leveraging the power of object oriented programming, as demonstrated in class.
The final Project 3 should:
provide a UI so customers can enter packages, which must contain: a pickup address, a delivery address, a total value, and description of its contents.
there should be a corporation object that initializes the location of each jet, given a list of 7 cities, at the start of the application.
after the customer adds a new package, the app should determine which jet should pick it up (the customer should input one of the seven cities where we do business).
after a matching jet is located, the package is put on its to -do list (an array).
Guidelines
the following objects are useful to create: a jet, a package, a corporation
when the corporation object is initialized it should create an array of 14 jets, each with their own randomly assigned city.
you should have an array containing a list of cities, by airport codes (ATL, LAX, etc)
when each jet is initlized (after being added to the corporations array of jets), each jet is initialized with its starting city.
hence, the jet object should possess a variable that is called startCity that contains an airport code in the array in (3), above
System.out.println() should be used to display details of what each plane is carrying, after each package is input, by using a for loop to print out each jets packages array
each package object should contain a description, an id (which can be a random number *10,000), a pickup city, and a destination city.
the corporation object should possess an array of Jets (of type jet).
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference
and should not be submitted as is. We are not held liable for any misuse of the solutions.
Please see the frequently asked questions page
for further questions and inquiries.
Kindly complete the form.
Please provide a valid email address and we will get back to you within 24 hours.
Payment is through PayPal, Buy me a Coffee
or Cryptocurrency.
We are a nonprofit organization however we need funds to keep this organization operating
and to be able to complete our research and development projects.