Please provide the code necessary in the fixme sections.thanks
Q3Plane(String name, int speed) {
// FIXME 3a: complete this constructor
}
/** Return the speed of the plane */
int getSpeed() {
return 0; // FIXME 3b: complete this method
}
/**
* Reset the speed of the plane according to the argumentspeed
* @param speed The new speed of the plane
*/
void resetSpeed(int speed) {
// FIXME 3c: complete this method
}
/**
* Calculate the time to travel the specified distance at thecurrent speed.
* @param distance The distance (in km)
* @return The time to travel the distance (in minutes)
*/
int timeToTravel(int distance) {
return 0; // FIXME 3f: complete this method
}
/**
* Return a string describing
PayPal Gateway not configured
PayPal Gateway not configured