Skip to document
Was this document helpful?

Lecture 4 UML Diagrams and Arrays

Course: Object Oriented Programming for Engineers (ENSE602)

27 Documents
Students shared 27 documents in this course
Was this document helpful?
We use UML to develop class diagrams, which are a static depiction of the classes we develop
and the relationships between them
Composition
•Object composition is a stronger variation of the “hasa” relationship
• Two objects are composed if they have a strong lifecycle dependency
• e.g. if the containing object is destroyed, the objects it contains are also destroyed