What are different types of relationships in Java?

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. In this article we will understand all these relationships.

Sizin İçin Seçtik  Is as relationship in oops?

Leave a Reply

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