Computer Science, asked by delnabenny2, 8 months ago

what is encapsulation​

Answers

Answered by raginikri2007
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 JafrinH
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