Submit Your Site To The Web's Top 50 Search Engines for Free! Java Tutorial: Learn Java Basics For Free | Learn Java

Monday, December 16, 2019

Aggregation in Java: Definition and Examples -Learn Java

Aggregation in Java: Definition and Examples -Learn Java

Without existing container object if there is a chance of existing contained objects
such type of relationship is called aggregation .
in aggregation objects have weak association.

Example:

Within a department there may be a chance of several professors will work whenever 
we are closing department still there may be a chance of existing department object the
 relationship between department and professor is called aggregation where the objects
 having weak association.

Example:

https://cjavapoint.blogspot.com/

1 comment:

Java multithreading Tutorial with Real-Life-Example(2025)

  Java Multithreading Tutorial with Real-Life Examples (2025) Meta Description: Learn Java Multithreading with real-world examples. Und...