Cognizant Interview Question

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

Interview Answer

Anonymous

May 21, 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.