Computer Science, asked by divya9192, 7 months ago

define encapsulation with an example​

Answers

Answered by harshraut2004
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 Vmusale
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