what is meant by data encapsulation
Answers
Answered by
2
encapsulation is the process of wrapping of data and function together as a unit and this can be made possible by using class members private
Answered by
0
Answer:
The system of wrapping data and functions into a single unit is known as encapsulation of data.
Explanation:
In object Oriented Programming, data cannot move freely from function to function.
Let us consider a TV set operated by a remote control. Various functions of the TV set are linked or tied with the remote signals. Now, we can say that the activities of a TV set are merged or grouped with the remote signals of a specific remote control.
Similar questions