Knowee
Questions
Features
Study Tools

What is it called where child object gets killed if parent object is killed?Select one:CompositionEncapsulationAssociationAggregation

Question

What is it called where child object gets killed if parent object is killed?Select one:CompositionEncapsulationAssociationAggregation

🧐 Not the exact question you are looking for?Go ask a question

Solution

The correct answer is Composition. In Composition, if the parent object is deleted, then the child object also gets deleted. This is also known as a "death relationship".

Similar Questions

What is it called where child object gets killed if parent object is killed?AggregationCompositionEncapsulationAssociation

What is it called where object has its own life cycle and child object cannot belong to another parent object?Select one:CompositionAssociationAggregationEncapsulation

What is it called where a child object gets killed if the parent object is killed?

A popular terminology used in child development is object permanence, which means that:Question 4Select one:a.Objects are fixed in their placeb.If an object is out of sight, it still existsc.Object names are not easily assimilatedd.When an object is removed from its place, it has disappeared.e.None of the above

When a child class inherits from only one parent class, it is called?

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.