Aggregation in Java
Mar 3, 2023 · 2 min read · If a class have an entity reference, it is known as Aggregation. Aggregation represents HAS-A relationship. Aggregation in Java is a mechanism of using an object of one class as a member variable of another class. It is a way to achieve a "has-a" rel...
Join discussion
