When do you prefer to use composition than aggregation?
Answer / naveen sisupalan
Composition is a stronger form of aggregation. If you are
sure that the life of the part is managed entirely by the
whole then you can go for composition. Without whole, the
part can't exist also.
| Is This Answer Correct ? | 7 Yes | 0 No |
How a program can be structured using the concept of object oriented programming?
What is a functional interface? What is sam interface?
Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?
why do requirements change so much? after all, don't people know what they want?
What are associative classes?
3 Answers InfoAxon Technologies, Protech,
Can an interface implement or extend another interface?
What is the default access specifier in a class definition?
What is the use of destructive method?
When will you use an interface and abstract class?
What is the default access modifier in a class?
Differentiate between a class and a method.
Can you give some examples of tokens?