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


Please Help Members By Posting Answers For Below Questions

What is the difference between data hiding and implementation?

547


What is virtual multiple inheritance?

561


What are the Differentiate between abstraction and encapsulation.

491


What is the benefit of using inheritance?

595


Can you create an instance for an abstract class?

534






Can we reduce the visibility of the inherited or overridden method ?

615


Why is java not fully objective oriented?

598


What is polymorphism? When is it employed? give an example.

564


Can an interface contain fields?

583


Can you create an instance of an abstract class?

574


What is a static method? Why do we need static methods in java 8 interfaces?

669


Can constructors be parameterized?

564


Differentiate between an abstract class and an interface?

563


What is the main advantage of using inheritance?

574


What is meant by “abstract interface”?

613