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