5 Questions
In object-oriented programming, which relationship represents tight coupling?
Association
Which form of association represents loose coupling?
Aggregation
If an object of a class is declared as a data member inside another class, it represents which type of relationship?
Association
Which relationship should be used when an 'is-a' relationship exists between two types?
Inheritance
If a dependency object does not exist without the dependent object, it represents which form of association?
Composition
Understanding Association in Object-Oriented Programming Learn about the concept of association in OOP through this quiz. Test your knowledge of how objects are connected and represented as data members in different classes.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free