What is OOP ELI-5
Huh… OOP… What exactly is OOP? Not an Oopsie, or not the thing that you say when you make a mistake… Its exactly something that has to do with programming stuff!

Object Oriented Programming (OOP) is a “method” of programming that involves using “objects”. These objects allow you to create that code again… and again… and again…! So that you don’t have to write them over and over!

No no, not a classroom! A class is what we would call the “blueprint” of the object. These classes or “objects” can use several techniques such as “Inheritance (objects can inherit features from other objects), Polymorphism (objects can share the same interface — how they are accessed and used — while their underlying implementation of the interface may differ), and Encapsulation (each object is responsible for specific tasks).” These can have both methods and properties. The best way to explain it is if you were trying to model what a person would do.

The class would be named “human” or “person”.
This class could contain methods for walking, eating, talking or sleeping (anything really as long as its something that describes the “object” or person).
The properties(object) of the class human would be hair color, eye color, skin color, height, weight, strength… anything to gauge their difference from one another! Almost every person has hair, but they can be different by its color…
But Zedrick! What does this have to do with OOP?!
Well (most) people can walk, talk, eat, drink, sleep… So rather than rewriting this code, you can just take the human/person class so that you can take the same methods! You only wrote it once, but you’re essentially re-using it!
This is what we would call class inheritance because the classes inherit from other classes to make subclasses…
Confusing ain’t it? I know, I’m confused as much as you are. But lets look at something visual.

So in this picture here, the objects are being changed into the class animal, but in this case, the objects are “classes”.

The classes of Employee and Student are the derived classes. The class of Person is the Base class, and is inheriting the information from both derived classes. That is the most simple way I can put Classical Inheritance.
