How do abstraction and encapsulation complement each other?
Answers
Answered by
4
Hi, This is your answer
The abstraction technique aims to separate the implementation details of a class from its behavior. Abstraction and encapsulation are complementary concepts. On the one hand, abstraction focuses on the behavior of an object. On the other hand, encapsulation focuses on theimplementation of an object's behavior.
Hope you like my answer☺☺
Similar questions
India Languages,
6 months ago
Physics,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
History,
1 year ago