English, asked by jennisinu2004il, 8 months ago

what is encapsulation?​

Answers

Answered by vrittibafna
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 Anonymous
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