Skip to content
Exam Equip
Menu
Home
Blog
Privacy Policy
Terms of Service
Composition represents “has-a” relationship where the child…
Written by Anonymous on May 16, 2026 in
Uncategorized
with
no comments
.
← Previous Post
Next Post →
Questions
Cоmpоsitiоn represents "hаs-а" relаtionship where the child object's lifecycle is independent of the parent object. If the parent object is destroyed, the child object can still exist
Show Answer
Hide Answer
Comments are closed.