Coupling is physical connections between elements of OO design - Introduction of Software Engineering

Q.  What does the physical connections between the elements of the OO design represent?
- Published on 24 Jul 15

a. Cohesion
b. Coupling
c. Both A & B
d. None of the above

ANSWER: Coupling
 

    Discussion

  • Nirja Shah   -Posted on 09 Oct 15
    Coupling
    - The physical connections between elements of the OO design represent coupling within an OO system.

    - Example: The number of collaborations between classes or the number of messages passed between objects.

    Cohesion
    - It refers to the degree to which the elements of a module belong together.

    - Thus, cohesion measures the strength of relationship between pieces of functionality within a given module.

    - For example, in highly cohesive systems functionality is strongly related.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)