In which place we want to use Encapsulation
Answers
Answered by
0
Answer:
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.
Similar questions
Chemistry,
2 days ago
Social Sciences,
2 days ago
Social Sciences,
4 days ago
Physics,
4 days ago
English,
8 months ago
Biology,
8 months ago
Math,
8 months ago