Object-Oriented Programming (OOP) is a programming paradigm based on the concept of "objects", which can contain data (fields, often called attributes or properties) and code (methods, which are functions associated with the object).
There are 4 main principles of OOP, often remembered by the acronym "PIES":
🔠 What is PIES?
PIES stands for the four core OOP principles: