MCQ: What is meant by the classes and objects that dependents on each other?

What is meant by the classes and objects that dependents on each other?

  1. Tight Coupling
  2. Cohesion
  3. Loose Coupling
  4. None of the above

Answer

a. Tight Coupling

Explanation:

In tight coupling, a group of classes and objects are highly dependent on each other. Tight coupling is also used in some cases, like when an object creates some other objects that are going to be used by them.

Tight coupling is the correct answer as it is used when the logic of one class is called by the logic of another class.

Hence, the correct option is (a).


Comments