5.1. Associations and Links
The formal name for a structural relationship that exists between objects is an association. With respect to the Student Registration System (SRS), some sample associations might be as follows:
A Student is enrolled in a Course.
A Professor teaches a Course.
A DegreeProgram requires a Course.
Whereas an association refers to a relationship between classes, the term link can be used to refer to a structural relationship that exists between two specific objects (instances). Given the association "a Student is enrolled in a Course," we might have the following links:
Jackson Palmer (a particular Student object) is enrolled in Math 101 (a particular Course object).
Helmut Schmidt (a particular Student object) is enrolled ...
Get Beginning C# 2008 Objects: From Concept to Code now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.