what is encapsulation?
Answers
Answered by
11
Answer:
Encapsulation is one of the fundamentals of OOP (object-oriented programming). It refers to the bundling of data with the methods that operate on that data. Encapsulation is used to hide the values or state of a structured data object inside a class, preventing unauthorized parties' direct access to them.
Answered by
18
Answer:
Encapsulation is one of the fundamentals of OOP. It refers to the bundling of data with the methods that operate on that data
Similar questions
Biology,
4 months ago
Social Sciences,
4 months ago
English,
8 months ago
Science,
11 months ago
English,
11 months ago