TCS interview question

What is OOP (Object-Oriented Programming)?

Interview Answer

Anonymous

Jul 26, 2025

“OOP is a programming paradigm based on the concept of objects, which contain data and methods. The four main principles are encapsulation, inheritance, polymorphism, and abstraction. It helps in organizing complex programs, reusability, and easier maintenance.”