While Mathematica is not an object-oriented language, and does not natively support OOP features like methods. Nevertheless it is possible to write code in the object-oriented style.
OOP can be implemented ad-hoc or as needed; there are also packages available such as OO System.
- How can I implement object oriented programming in Mathematica?
- Code Readability and Object-Oriented Code