You model invoices and invoice items with a UML class diagram.
Explanation: The total amount of an invoice is calculated by summing up all individual invoice items. This means that an invoice showing 5 article prices contains 5 invoice items. What model element most accurately describes the relationship between invoice and invoice items? (1 Point)
- Composition
- Aggregation
- Generalisation
- Association
Answer(s): A
Explanation:
The total amount of an invoice is calculated by summing up all individual invoice items. This means that an invoice showing 5 article prices contains 5 invoice items. What model element most accurately describes the relationship between invoice and invoice items? (1 Point)
A. Composition
B. Aggregation
C. Generalisation
D. Association
Answer(s): A
Reveal Solution Next Question