Presidio interview question

Explain the difference between abstraction and encapsulation.

Interview Answer

Anonymous

5 Mar 2024

Abstraction is the process of hiding complex implementation details and showing only the necessary features of an object. It focuses on defining a clear interface for interacting with objects while hiding the internal implementation details.