search
Log In
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
1 vote
806 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
edited by
806 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

Related questions

1 vote
1 answer
1
0 votes
2 answers
2
126 views
Consider the following JAVA program: public class First { public static int CBSE (int x) { if (x < 100)x = CBSE (x+10); return (x-1); } public static void main(String[]args){ System.out.print(First.CBSE(60)); } } What does this program print? $59$ $95$ $69$ $99$
asked Mar 24 in Object Oriented Programming jothee 126 views
3 votes
2 answers
3
1.6k views
Which one of the following is correct? Java applets cannot be written in any programming language An applet is not a small program An applet can be run on its own Applets are embedded in another applications
asked Aug 1, 2016 in Object Oriented Programming jothee 1.6k views
0 votes
1 answer
4
900 views
A function template in C++ provides _____ level of generalization. $4$ $3$ $2$ $1$
asked Sep 24, 2016 in Object Oriented Programming makhdoom ghaya 900 views
...