aggregation relationship in code.
- Library and Students. Because the student can exist without library, the relation between student and library is aggregation.
- professor and students: when the professor dies the students do not die along with him or her.
in a Object - Class Diagram (UML)