derive a class hierarchy for the item set given below.Item sets
Engine , InternalCombustineEngine , ExternalCombustineEngine , PetrolEngine, DieselEngine, SteamEngine | Virtual Function GetEfficiency()
Please Note that Petrol Engine and Diesel Engines are Internal Combustion Engines and Steam Engine is External Combustion Engine. So arrange the Class hierarchy accordingly..