What is OOP?

Object-Oriented Programming (OOP) is a programming paradigm based on the concept of objects, which contain data in the form of fields…