Podcast
Questions and Answers
Which type of relationship between two classes models a 'has a' relationship?
Which type of relationship between two classes models a 'has a' relationship?
- Aggregation / Composition (correct)
- Association
- Inheritance
- Dependency
Which type of relationship between two classes models an 'is a' relationship?
Which type of relationship between two classes models an 'is a' relationship?
- Dependency
- Association
- Aggregation / Composition
- Inheritance (correct)
Which type of relationship between two classes represents that one entity depends on the behavior of another?
Which type of relationship between two classes represents that one entity depends on the behavior of another?
- Dependency (correct)
- Aggregation / Composition
- Association
- Inheritance
Which type of relationship between two classes represents that one entity uses another as part of its behavior?
Which type of relationship between two classes represents that one entity uses another as part of its behavior?
What is the weakest type of relationship between two classes?
What is the weakest type of relationship between two classes?
Flashcards are hidden until you start studying