Let's explore basic aggregation and composition aggregation further.
让我们更进一步探讨基本聚合和组合聚合。
Another important feature of composition aggregation is that the part class can only be related to one instance of the parent class (e.g. the Company class in our example).
组合聚合的另一个重要功能是部分类只能与父类的实例相关(举例来说,我们例子中的Company类)。
Another important feature of composition aggregation is that the part class can only be related to one instance of the parent class (e.g. the Company class in our example).
组合聚合的另一个重要功能是部分类只能与父类的实例相关(举例来说,我们例子中的Company类)。
应用推荐