Which of the following is correct definition of Coupling in Java language?
2024
Which of the following is correct definition of Coupling in Java language?
- A.
Degree to which elements of a module belong together.
- B.
The ability of a class to inherit from other classes.
- C.
Process of hiding internal details of a module.
- D.
Degree of direct knowledge one class has of other.
- E.
Question not attempted
Attempted by 72 students.
Show answer & explanation
Correct answer: D
Coupling measures how much one module or class depends on or knows about another. The option 'degree to which elements of a module belong together' describes cohesion, not coupling.