What is aggregation in Java with example?

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.

Sizin İçin Seçtik  Which degree is best for full-stack developer?

Leave a Reply

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

What is aggregation in Java with example?

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.

Sizin İçin Seçtik  0 araba alırken ne kadar vergi ödeniyor?

Leave a Reply

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