CIT-73 Home http://www.c-jump.com/CIT73/CIT73syllabus.htm

Chapter 9, Generalization, Aggregation, Association, and Cardinality


  1. Week 12, Chapter 9, Generalization, Aggregation, Association, and Cardinality
  2. Difference between inheritance and composition
  3. Modularity
  4. Types of Composition
  5. Aggregation Example
  6. Aggregation Versus Association
  7. Cardinality Notation for Associations
  8. Week 12 Reading: pages 153-166

1. Week 12, Chapter 9, Generalization, Aggregation, Association, and Cardinality


2. Difference between inheritance and composition


  • Inheritance is an "is-a" relationship. also known as generalization.

  • For example, Employee is a Person.

  • On true contrary, composition relationship represents interaction between objects.

    inheritance relationship

3. Modularity


4. Types of Composition


5. Aggregation Example


6. Aggregation Versus Association


7. Cardinality Notation for Associations


8. Week 12 Reading: pages 153-166