Computer Science, asked by patiala84131, 10 months ago

How encapsulation and abstraction are implemented in c++?

Answers

Answered by abinashjenwin
0

Answer:

encapsulation is wrapping of data's and members into a single unit

you can make this by defining a class

WHILE

abstraction is showing only the required features and hiding all other details, you can make this by the access specifier Private.

Explanation:

when the member of a class becomes private, it can it can only accessed by the member function of that class only...

Similar questions