其中的条款:什么是类关系?
Motorized Vehicle
,Car
,Motor
,Truck
我想以下几点:
a Car is a Motorized Vehicle
,a Car has a Motor
,a Truck has a Motor
,a Truck is a Motorized Vehicle
Q1:我是在上面的更正关系?第二季度:我们现在想要将单词fan
联系起来......那看起来怎么样?
我尝试: a fan has a motor
,a Motorized Vehicle has a motor
,a Car is a Motorized Vehicle
,a Car has a Motor
,a Truck has a Motor
,a Truck is a Motorized Vehicle
我需要在此方面的说明,请....
机动车应该有一个电机作为名字建议,IMO。 – Tautvydas
相关http://lostechies.com/derickbailey/files/2011/03/LiskovSubtitutionPrinciple_52BB5162.jpg – PeeHaa