what is encapsulation ?( give a simple explanation )
Answers
Answered by
7
encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination thereof: A language mechanism for restricting direct access to some of the object's components.
hope it helps!!✌✌
hope it helps!!✌✌
S4MAEL:
no sis it is right
Answered by
0
Answer:
The system of wrapping data and functions into a single unit is known as encapsulation.
Explanation:
The only way to access the data is provided by the functions that are combined along with the data. These functions are called methods or member functions in an object oriented language which gives stress on the data items rather than functions.
Similar questions