what is encapsulation
Answers
Answered by
1
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
Answered by
0
Answer:
Encapsulation in Java is a process of wrapping code and data together into a single unit, for example, a capsule which is mixed of several medicines. We can create a fully encapsulated class in Java by making all the data members of the class private. ... The Java Bean class is the example of a fully encapsulated class.
Thank you!!
Similar questions
India Languages,
4 months ago
Math,
4 months ago
Chemistry,
8 months ago
Biology,
8 months ago
Chemistry,
1 year ago