Shubho: This is analogous to Object Oriented Principles.
面向对象原则与这类似。
Shubho: Now, let's think how the lights or fans are connected with the switches so that changing one doesn't have any impact on the other.
现在,让我们思考一下电灯或风扇如何连接到开关上才能达到改变一个不会影响到另一个。
Shubho : Yes. In real world, Car is the higher level module/entity, and it depends on the lower level modules/entities like the Engines or Wheels.
Shubho :是的,在现实中,汽车是高级模块或实体,它依赖于低级模块或实体,如引擎或车轮。
Shubho : Yes. In real world, Car is the higher level module/entity, and it depends on the lower level modules/entities like the Engines or Wheels.
Shubho :是的,在现实中,汽车是高级模块或实体,它依赖于低级模块或实体,如引擎或车轮。
应用推荐