Object-oriented programming (OOP) is a programming paradigm based on the object [1] – a software entity that encapsulates data and function (s).
As the name suggests, Object-Oriented Programming or OOPs refers to languages that use objects in programming. Object-oriented programming aims to implement real-world entities like inheritance, hiding, polymorphism, etc in programming.