Photo by Markus Spiske on Unsplash

Object Orientated Programming (OOP) is the approach to managing the flow of data within objects. Objects are data that we want to model from the world like for example a dog, phone, driver’s license, etc. The four main pillars for OOP are abstraction, encapsulation, inheritance, and polymorphism.

Abstraction is to only show the details to the user of the object. Only exposing the necessary details needed by whomever is using the object. A great thing from abstraction is that it decouples the user from the underlying implementation. We only care about calling the method and not the underlying implementation.

Encapsulation…

Perezchristian

Flatiron School Graduate with finance, budget, and tax experience.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store