Science, asked by kalitanitali3398, 1 year ago

Explain in detail is a relationship in oops

Answers

Answered by lostone
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 Anonymous
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
Similar questions