Home / General Knowledge / Testing sawaal :: Discussion

Discussion :: Testing sawaal

  1. Which of the following statement is true?

  2. A.
    Cohesion is the OO principle most closely associated with hiding implementation details
    B.
    Cohesion is the OO principle most closely associated with making sure that classes know about other classes only through their APIs
    C.
    Cohesion is the OO principle most closely associated with making sure that a class is designed with a single, well-focused purpose
    D.
    None

    View Answer

    Workspace

    Answer : Option C

    Explanation :


    A refers to encapsulation, B refers to coupling


Be The First To Comment