Thursday, 17 December 2015


Association is a relationship between two classes. It allows one object instance to cause another to perform an action on its behalf.
Association is a simple structural connection or channel between classes and is a relationship where all objects have their own lifecycle
and there is no owner.
Multiple students can associate with a single Department and single student can associate with multiple Departments, but there is no ownership between the objects and both have their own lifecycle. Both can create and delete independently.
Here is respective Model


Post a comment