Synoptek interview question

Differnce between encapsulation and abstraction ?

Interview Answer

Anonymous

21 June 2025

Encapsulation focuses on bundling data and methods within a class and controlling access to them, while abstraction focuses on hiding complex implementation details and exposing only necessary functionality.