What is mean by encapsulation in object oriented programming?
Answers
Answered by
2
it means to bind data and object into a single unit
Answered by
1
Answer:
Encapsulation means characteristics and behaviour are combined in one unit. The system of wrapping data and functions into a single unit is known as encapsulation of data.
An abstraction is a named collection of attributes and behaviour relevant to modeling a given entity for some particular purpose. This is why in object oriented programming encapsulation plays an important role.
Similar questions