Differentiate between Aggregation and containment?
Answer Posted / kundan lal
There is NO difference between aggregation and containment.
There is a difference, however, between aggregation and
composition.
Is This Answer Correct ? | 0 Yes | 9 No |
Post New Answer View All Answers
What is garbage collection(gc)?
What is meant by inheritance? what are the advantages of inheritance?
What are different types of arguments?
Define Destructor?
If a class inherits an interface, what are the 2 options available for that class?
Explain about parametric polymorphism?
Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?
If a method definition has been specified in class , its base class , and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?
What is composition? Explain the purpose of composition.
What is function override?
Explain about inheritance hierarchies?
What is bootstrap, extension and system class loader?
Name the different creational patterns in object oriented design?
Can I implement polymorphism using abstract class?
What is the benefit of using inheritance?