define encapsulation with an example
Answers
Answered by
0
Answer:
Encapsulation is defined as binding together the data and the functions that manipulates them.
Consider a real life exampleof encapsulation, in a company there are different sections like the accounts section, finance section, sales section etc.
Answered by
2
Answer:
ln normal terms Encapsulation is defined as wrapping up of data and information under a single unit. In Object Oriented Programming, Encapsulation is defined as binding together the data and the functions that manipulates them.
hope it help you ...,✌
Similar questions
Social Sciences,
5 months ago
World Languages,
5 months ago
English,
5 months ago
Math,
10 months ago
History,
10 months ago