The Gateway to Computer Science Excellence
+1 vote
541 views

Which of the following is a correct statement ?

  1. Composition is a strong type of association between two classes with full ownership.
  2. Composition is a strong type of association between two classes with partial ownership.
  3. Composition is a weak type of association between two classes with partial ownership.
  4. Composition is a weak type of association between two classes with strong ownership.
in Object Oriented Programming by Boss (30.7k points)
edited by | 541 views

1 Answer

0 votes

When an object contains the other object, if the contained object cannot exist without the existence of container object, then it is called composition

it is strong and has full owner relationship

Answer must be A

by Boss (33k points)
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,291 answers
198,209 comments
104,894 users