Start Back Next End
  
32
e.
Association 
Association is a static relationship between classes
and is used to give explanation regarding the
relation and multiplicity. The relationship is
divided into two types:
1.
Uni-Directional
In Uni-Directional, two classes are
connected but only one of them has role in
it. 
2.
Bi-directional
In bi-directional, two classes are connected
and both have roles in the relationship.
f.
Aggregation
Aggregation is used to depict type of relationship
where one class is a part of another class but not
vice versa. For example: class Teacher is a part of
class School however class School is not part of
class Teacher.
Another type of Aggregation is Composition in
which the relationship is stronger and more
dependable. For example: class Teacher which is a
part of class School will not be present if there is
no class School.
Word to PDF Converter | Word to HTML Converter