What is data encapsulation?
Answers
Answered by
3
the wrapping up of data and function into a single unit is called as data encapsulation
Answered by
1
Answer:
The system of wrapping data and functions into a single unit is known as encapsulation of data.
Explanation:
Encapsulation means that the functions used in a class can only access the data items. These functions provide an interface between data items of the objects and the calling program so that they can be applied as a unit to execute any operation.
Similar questions