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 |
Does PowerShell support OOPs?
Difference between composition and inheritance ?
Explain the rationale behind object oriented concepts?
Why use oops?
What is the default access specifier in a class definition?
What if we make the method as abstract in another interface?
What is the use of Operator Overloading?
What are the Differentiate between abstraction and encapsulation.
How a program can be structured using the concept of object oriented programming?
Explain static binding
Can you tell something about GDI objects?
What is the difference between an interface and abstract class?