class Airplane – highlights
-- modelID : String
-planeType: String //â€propeller†“jetâ€
--fuelOnBoard : int
--fuelCapacity: int //gallons
…………...
Assume getters and setters, toString(), constructor withparameters
and constructor
……………
Write lambdas using a standard functional interfaceto:
a) Given a plane object and “propeller†or “jet†as aninput, determine if the given plane matched the giventype
b) Output the plane description and “plane needs fuelâ€if fuel on board is less than 80% of fuel capacity
c) Adjust the fuel by a specified number of gallons andwrite an example for each showing the usage, using an Airplaneinstance plane1
Please use Java, don't use other coding languages tosolve it. Thank you