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?

Answer: D. Degree of direct knowledge one class has of other.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…

  1. A.

    Degree to which elements of a module belong together.

  2. B.

    The ability of a class to inherit from other classes.

  3. C.

    Process of hiding internal details of a module.

  4. D.

    Degree of direct knowledge one class has of other.

  5. E.

    Question not attempted

Attempted by 263 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.

Explore the full course: Hpsc Pgt Computer Science

Loading lesson…