If a class has an entity reference, it is known as Aggregation. Aggregation represents the HAS-A relationship.
Consider a situation, Employee object contains much information such as id, name, email, etc. It contains one more object named address, which contains its own information such as city, state, country, zip code, etc. as given below.
On this page of the site you can watch the video online Video-28 Aggregation in JAVA | has a relationship with a duration of hours minute second in good quality, which was uploaded by the user Explore More 01 January 1970, share the link with friends and acquaintances, this video has already been watched 14 times on youtube and it was liked by 0 viewers. Enjoy your viewing!