Composition does not entail a non-empty child list. It does entail a part-of relation between parent and child, i.e. if the parent is destroyed, so are all children and an object of the child class can not exist without a parent. See UML specification Section 9.5.3
Composition does not entail a non-empty child list. It does entail a part-of relation between parent and child, i.e. if the parent is destroyed, so are all children and an object of the child class can not exist without a parent. See UML specification Section 9.5.3