Object-Oriented Programming (OOP)
Select the accurate description of Association.
- A. A class member that belongs to the class itself rather than to any individual object instance.
- B. A keyword that controls the visibility and accessibility of a class's members, such as public or private.
- C. A relationship between two separate classes that establishes a connection through their objects. ✓
- D. A variable defined in a class for which each object of that class maintains its own separate copy.
Correct answer
C. A relationship between two separate classes that establishes a connection through their objects.
Explanation
Association refers to a relationship between two separate classes that establishes a connection through their objects.