WHAT IS DIFFERENCE BETWEEN AGGREGATION AND COMPOSITION IN JAVA?

Royce Roy

Total Post:51

Points:255
Posted by  Royce Roy
Java 
 516  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    What is difference between aggregation and composition in java?

    Aggregation represents weak relationship whereas,

    Composition represents strong relationship

    For example: bike has an indicator (aggregation) but bike has an engine (composition).

      Modified On Mar-28-2015 12:52:08 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!