What is the role of functions in encapsulation ? answer only if u know don't spam......
Share
What is the role of functions in encapsulation ? answer only if u know don't spam......
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
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
Explanation:
hlo dear
can u remmember me
and affu bro...
please if u know his id please tell me