Which statement best describes the concept of encapsulation?
NVS TGT/PGT 2019
Which statement best describes the concept of encapsulation?
- A.
When a class inherits from another class, it inherits both the states and methods of that class.
- B.
Grouping the commonalities and creating classes that can describe their differences from other classes.
- C.
The process of an object controlling outside access to its internal data.
- 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 freeLoading lesson…

