How encapsulation and abstraction are implemented in c++?
Answers
Answered by
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
Math,
5 months ago
Math,
5 months ago
History,
5 months ago
Computer Science,
10 months ago
Social Sciences,
1 year ago