employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged Employer

Tata Consultancy Services Interview Question

I was asked to explain the difference between abstraction and encapsulation in object-oriented programming. I explained that abstraction focuses on hiding implementation details and showing only essential features, while encapsulation is about wrapping data and methods into a single unit with access control.