Question: Consider a Fleet Management System ( FleetManagementSystem ) with three sub - classes Passenger _ plane, Cargo _ plane and Private _ plane. Implement an

Consider a Fleet Management System (FleetManagementSystem) with three
sub-classes Passenger_plane, Cargo_plane and Private_plane. Implement an empty
method in each sub-class having the following details: planeDetails(int P_numb, String
P_name, Date arrival_time, Date departure_time, String desitination_place, String
source_place). Write a program that helps the user check the arrival and destination time
of the particular plan by adding three different plane details as objects to each sub-class.
(Note: show how plane details are fetched based on plane number and then display the
arrival and departure time of the chosen plane).

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!