Explain in detail is a relationship in oops
Answers
Answered by
1
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.
Answered by
1
This reusability is possible due to the relationship b/w the classes Object oriented programming generally support four types of relationships that are⬇️
➡️ inheritance
➡️ association
➡️ composition and
➡️aggregation
All these relationship is based on is a relationship has-a relationship n part of relationship
➡️ inheritance
➡️ association
➡️ composition and
➡️aggregation
All these relationship is based on is a relationship has-a relationship n part of relationship
Similar questions
Math,
7 months ago
Social Sciences,
7 months ago
English,
7 months ago
Science,
1 year ago
Social Sciences,
1 year ago
Biology,
1 year ago
Social Sciences,
1 year ago