Cognizant interview question

Explain the concept of object-oriented programming (OOP).

Interview Answer

Anonymous

21 May 2024

• OOP is a programming paradigm based on the concept of “objects”, which are instances of classes. It uses principles like encapsulation, inheritance, polymorphism, and abstraction to create reusable and modular code.