Explain encapsulation with the help of an example how it facsilates data absraction
Answers
Answered by
0
In Object Oriented Programming, Encapsulation is defined as binding together the data and the functions that manipulates them. ... Here the data of sales section and the employees that can manipulate them are wrapped under a single name “sales section”. Encapsulation also lead to data abstraction or hiding.
Similar questions
Math,
6 months ago
Math,
1 year ago
India Languages,
1 year ago
English,
1 year ago
Math,
1 year ago