Computer Science, asked by manojpenthia, 1 month ago

what is Encapsulation?​

Answers

Answered by Anonymous
3

Encapsulation is one of the fundamental concepts in object-oriented programming (OOP). It describes the idea of bundling data and methods that work on that data within one unit, e.g., a class in Java. This concept is also often used to hide the internal representation, or state, of an object from the outside.

Answered by avantika9c
12

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.

Explanation:

please mark me as brainlist

Similar questions