Quiz: OOP Relationships Questions
Browse questions from Quiz: OOP Relationships. Each question has options and an explanation.
Questions — Page 1 of 1
- Which relationship means one object uses or knows about another object?
- Association can be one-to-one or one-to-many.
- Which relationship is a weak has-a relationship where the child can exist independently?
- In aggregation, the child must always be destroyed with the parent.
- Which relationship implies strong lifecycle ownership?
- Composition is stronger than aggregation.
- Which UML marker usually represents composition?
- Aggregation is commonly shown with a filled diamond.