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
Science,
5 months ago
Social Sciences,
5 months ago
Computer Science,
10 months ago
Social Sciences,
1 year ago