- 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.
推薦閱讀
- C#高級編程(第10版) C# 6 & .NET Core 1.0 (.NET開發(fā)經(jīng)典名著)
- Ext JS Data-driven Application Design
- Java Web開發(fā)之道
- Instant 960 Grid System
- QGIS:Becoming a GIS Power User
- Getting Started with NativeScript
- Machine Learning in Java
- TMS320LF240x芯片原理、設(shè)計及應(yīng)用
- Python機器學(xué)習(xí)之金融風(fēng)險管理
- ASP.NET Core and Angular 2
- Pandas 1.x Cookbook
- C語言從入門到精通(第5版)
- Python深度學(xué)習(xí):基于PyTorch
- 交互設(shè)計語言:與萬物對話的藝術(shù)(全兩冊)
- Prezi Cookbook