Through reading this short article you’ll be taking yet another big step towards familiarising yourself with Object Relations in Object Oriented Programming. In this article you’ll be served with explanation about Composition. To get a better grasp on today’s topic, before we go on with this article, I highly encourage you to read my article […]
Aggregation – Relations Between Objects And Classes
In this article we are going to continue our journey on getting a better grasp about Object Relations in Object Oriented Programming.Let’s explore Aggregation. We are speaking of an Aggregation when an Object is served as a container for a collection of other objects. For example, Imagine how a school department is served as a […]
Association – Relations Between Objects And Classes
A. There may be cases where Object B interacts with Object A and vice versa. In such a scenario we are dealing with a Bidirectional Association.
Dependency – Relations Between Objects And Classes
We are speaking of a Dependency if any changes in a class definition results to modifications in another class. A dependency between objects occurs when using concrete class names in any another class.