what is Encapsulation?
Answers
Answered by
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
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
English,
1 month ago
Math,
1 month ago
Math,
2 months ago
Psychology,
2 months ago
Math,
9 months ago