OOP is a programming paradigm based on the concept of "objects", which can contain data and code: data in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods).
Example: localStorage
Exposing only the minimum required by a public interface
Keeping the data and the code together in a unified way
Benefits
Example: Question