As I mentioned in the first post of this series, you’re often going to hear about The Three Pillars of Object-Oriented Programming. You may also hear about The Four Pillars of Object-Oriented Programming.
And it’s not that there’s a total of seven or anything like that. Instead, it’s more about what people consider to be foundational to OOP: Are there three or four major concepts?
You can surmise from the previous article (let alone the title), I believe there are four.

And in this post, I’m going to cover the final two:
- Inheritance,
- and Polymorphism
If you’ve done any type of object-oriented programming prior to reading this article, you’ve likely heard of at least one of these.
Regardless, let’s take a look at each of them in more detail.


