OOP stand for object-oriented programming that different with procedural or functional programming. OPP based on objects and are basically consisting of 4 main principles which are:
Encapsulation – When an object only expose the selected information.
Abstraction – Hides complex details to reduce complexity.
Inheritance – Entities can inherit attributes from other entities.
Polymorphism – Entities can have more than one form.