Question: The class for Aircraft should be an abstract declared class with two abstract methods of your choice and constructor with two variables describing the Aircraft.
The class for Aircraft should be an abstract declared class with two abstract methods of your choice and constructor with two variables describing the Aircraft. The subclass should use extends and Super to the Airplane class with an additional variables The constructor of the grandchild class should have parameters: the first are the same as for Civilian or fighters One additional method is needed in the grandchild classes. Add one method that will reflect the concept of polymorphism. The toString method needs to call the toString method of the parent. The grandchild class for civilian should be called Airbus and Boeing. The grandchild for fighters should be Mirage and Rafale
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
