Encapsulation allows you to control access to the data members of an object.
What is encapsulation?
Encapsulation is the bundling of data only with methods that operate on that data, or the restriction of direct access to some of an object's components. Encapsulation is used to hide the values and state of a structured data object within a class, limiting direct access to them to clients in a way that could expose secret implementation details or violate state invariance provided by the methods.
Encapsulation is a technique for restricting direct access to some components of an object, so that users cannot get state values for all variables of a specific object. Encapsulation can be used to conceal either data members or data functions and methods associated with a class or object that has been instantiated.
So, A is the right answer.
To learn more about encapsulation
https://brainly.com/question/28482558
#SPJ4