Question: 3 * 1 * * 4 * Abstract Pilot Class 5 * The Pilot class should have the following attributes & methods. 6 * Attributes:
Abstract Pilot Class
The Pilot class should have the following attributes & methods.
Attributes:
name String airlins String
Define a constructor for pilot with name and airline as parameters in the same order as given
Abstract Methods:
displayDetails fly both methods do not return any value
AirlinePilot Class
The AirlinePilot class should inherit the Pilot class and have the following attributes.
Attributes:
aircraftType String
Cal the parent constructor with arguments and
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
