Define:Encapsulation????????????????????please give me this answer?
Answers
Answered by
2
Answer:
In object-oriented programming, encapsulation refers to the bundling of data with the methods that operate on that data, or the restricting of direct access to some of an object's components. Wikipedia
Answered by
1
Answer:
encapsulation refers to the bundling of data with the methods that operate on that data, or the restricting of direct access to some of an object's components.Encapsulation is used to hide the values or state of a structured data object inside a class, preventing direct access to them by clients in a way that could expose hidden implementation details or violate state invariance maintained by the methods.
Explanation:
Meaning:-
the action of enclosing something in or as if in a capsule.
Similar questions