(Solved):Given the following list of items, identify which ones are classes, which are attributes, and which are methods. Then identify which class each attribute and each method belongs to, and suggest a c… View Answer…

 

Question

Given the following list of items, identify which ones are classes, which are attributes, and which are methods. Then identify which class each attribute and each method belongs to, and suggest a class hierarchy.The items are GainAltitude, DecreaseSpeed, Transportation, IdentificationNumber, MoveBackward, IncreaseSpeed, NumberOfDoors, Manufacturer, OpenHood, Airplane, MoveForward, MaximumAltitude, ComeInForLanding, MilesPerGallon, Car, and NumberOfAisles.

 

EXPERT ANSWER

The given items are arranged in a table below as what they are:

Scroll to top