Question

In the context of ADTs, what does "encapsulation" refer to?

A Wrapping data and related operations into a single unit. Correct Answer Incorrect Answer
B Making data publicly accessible to all parts of the program. Correct Answer Incorrect Answer
C Using encryption to protect data from unauthorized access. Correct Answer Incorrect Answer
D Structuring data in a way that makes it hard to use. Correct Answer Incorrect Answer

Solution

Wrapping data and related operations into a single unit.

Practice Next

Relevant for Exams:

×
×