Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which can contain data and code. The three main principles of OOP are encapsulation, inheritance, and polymorphism.
See Object-Oriented Programming to understand the OOP principles.