Is aggregation inherited Java?

Aggregation is a term which is used to refer one way relationship between two objects . … In Java, aggregation represents HAS-A relationship, which means when a class contains reference of another class known to have aggregation. The HAS-A relationship is based on usage, rather than inheritance.

Sizin İçin Seçtik  Ateks ne iş yapar?

Leave a Reply

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