Question: 3 * 1 * * 4 * Abstract Pilot Class 5 * The Pilot class should have the following attributes & methods. 6 * Attributes:

3*1**
4* Abstract Pilot Class
5* The Pilot class should have the following attributes & methods.
6* Attributes:
7* name (String), airlins (String)
8* Define a constructor for pilot with name and airline as parameters in the same order as given
9* Abstract Methods:
10* displayDetails(), fly()- both methods do not return any value
11* AirlinePilot Class
12* The AirlinePilot class should inherit the Pilot class and have the following attributes.
13* Attributes:
14* aircraftType (String)
15* Cal1 the parent constructor with arguments and
3 * 1 * * 4 * Abstract Pilot Class 5 * The Pilot

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!