What is aggregation in Java?

Aggregation in Java is a relationship between two classes that is best described as a “has-a” and “whole/part” relationship . It is a more specialized version of the association relationship. The aggregate class contains a reference to another class and is said to have ownership of that class.29 Oca 2019

Sizin İçin Seçtik  How do you write an employee code in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *