Which statement best describes the concept of encapsulation?

NVS TGT/PGT 2019

Which statement best describes the concept of encapsulation?

  1. A.

    When a class inherits from another class, it inherits both the states and methods of that class.

  2. B.

    Grouping the commonalities and creating classes that can describe their differences from other classes.

  3. C.

    The process of an object controlling outside access to its internal data.

  4. D.

    The collection of methods that an objects implements that can be called by other objects.

Attempted by 372 students.

Sign up free to check your answer

Sign up free

Explore the full course: Bpsc

Loading lesson…