Computer Science, asked by Harshitsinha115, 7 months ago

What is the role of functions in encapsulation ? answer only if u know don't spam......​

Answers

Answered by simi653042
3

Answer:

Encapsulation is a process of combining data members and functions in a single unit called class. This is to prevent the access to the data directly, the access to them is provided through the functions of the class. It is one of the popular feature of Object Oriented Programming(OOPs) that helps in data hiding.

will you please mark me as brainlist

Similar questions