Question

Which type of relationship between classes in OOP is best represented when one class is a part of another class but can exist independently?

A Aggregation
B Inheritance
C Composition
D Association
E Polymorphism
Practice Next

Hey! Ask a query