Computer Science, asked by Anonymous, 1 year ago

what is encapsulation???

Answers

Answered by siri978
2
the action of enclosing something in or as if in a capsule.


hope it helps you friend
Answered by cyrusbishop
2

Answer:

The system of wrapping data and functions into a single unit is known as encapsulation.

Explanation:

In object Oriented Programming, data cannot move freely from function to function. Data encapsulation is the most important feature of a class. The functions used in a class can only access the data items.

These functions provide an interface between data items of the object and the calling program

Similar questions