官术网_书友最值得收藏!

  • Extreme C
  • Kamran Amini
  • 108字
  • 2021-03-26 16:15:45

Relations between classes

An object model is a set of related objects. The number of relations can be many, but there are a few relationship types that can exist between two objects. Generally, there are two categories of relationships found between objects (or their corresponding classes): to-have relationships and to-be relationships.

We'll explore to-have relationships in depth in this chapter, and we'll cover to-be relationships in the next chapter. In addition, we will also see how the relationships between various objects can lead to relationships between their corresponding classes. Before dealing with that, we need to be able to distinguish between a class and an object.

主站蜘蛛池模板: 自治县| 长汀县| 隆昌县| 遵化市| 那曲县| 布拖县| 江门市| 庆元县| 灵丘县| 五寨县| 玛曲县| 和平县| 太仆寺旗| 饶阳县| 搜索| 双江| 杭州市| 宕昌县| 光山县| 类乌齐县| 丰顺县| 呼图壁县| 松滋市| 曲麻莱县| 汾阳市| 个旧市| 宁海县| 岳普湖县| 永福县| 焉耆| 库尔勒市| 澳门| 江津市| 杂多县| 南宫市| 高邑县| 赤城县| 济南市| 蓬溪县| 平定县| 奉贤区|