PdfPrep.com

What model element most accurately describes the relationship between invoice and invoice items?

You model invoices and invoice items with a UML class diagram. 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: A

Exit mobile version