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)
- Inheritance
- Association
- Dependency
What is the special meaning of a generalization relationship between two classes?
What is the special meaning of a generalization relationship between two classes?
- Association
- Dependency
- Inheritance (correct)
- Aggregation/Composition
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?
- Aggregation/Composition
- Inheritance
- Dependency
- Association (correct)
What is the weakest type of relationship between two classes?
What is the weakest type of relationship between two classes?
How many types of relationships between two classes are mentioned in the text?
How many types of relationships between two classes are mentioned in the text?