What is the different kind of relationship among classes?

This reusability is possible due to the relationship b/w the classes. Object oriented programming generally support 4 types of relationships that are: inheritance , association, composition and aggregation . All these relationship is based on “is a” relationship, “has-a” relationship and “part-of” relationship.14 May 2016

Sizin İçin Seçtik  Konsept ne demek örnek?

Leave a Reply

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

What is the different kind of relationship among classes?

This reusability is possible due to the relationship b/w the classes. Object oriented programming generally support 4 types of relationships that are: inheritance , association, composition and aggregation . All these relationship is based on “is a” relationship, “has-a” relationship and “part-of” relationship.14 May 2016

Sizin İçin Seçtik  What is difference between composition and aggregation in Java?

Leave a Reply

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