Computer Science, asked by akanksharani5038, 1 year ago

How do abstraction and encapsulation complement each other?

Answers

Answered by expert1262
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